From c049cedd6969d77649db15b71f4ba112d4a2c065 Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Mon, 14 Jul 2008 11:38:30 +0000 Subject: ** Fix for bug #542889 2008-17-14 Paolo Borelli ** Fix for bug #542889 Port to the new gtk tooltip api. svn path=/trunk/; revision=35744 --- calendar/gui/dialogs/event-page.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'calendar/gui/dialogs/event-page.c') diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 0596c4c790..cf2a8e5c9e 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -784,15 +784,13 @@ static GtkWidget * create_image_event_box (const char *image_text, const char *tip_text) { GtkWidget *image, *box; - GtkTooltips *tip; box = gtk_event_box_new (); - tip = gtk_tooltips_new (); image = e_icon_factory_get_image (image_text, E_ICON_SIZE_MENU); gtk_container_add ((GtkContainer *) box, image); gtk_widget_show_all (box); - gtk_tooltips_set_tip (tip, box, tip_text, NULL); + gtk_widget_set_tooltip_text (box, tip_text); return box; } -- cgit v1.2.3