GtkRequisition *req,
GtkWidget *note)
{
- gint note_height = MAX (HILDON_INFORMATION_NOTE_MIN_HEIGHT, req->height);
+ gint note_height = MAX (HILDON_INFORMATION_NOTE_MIN_HEIGHT, req->height + 2*HILDON_MARGIN_DOUBLE);
g_object_set (note, "height-request", note_height, NULL);
}
HildonNotePrivate *priv;
priv = HILDON_NOTE_GET_PRIVATE (widget);
- priv->idle_handler = g_idle_add (sound_handling, widget);
+ priv->idle_handler = gdk_threads_add_idle (sound_handling, widget);
}
/* We play a system sound when the note comes visible */