aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/event-page.c')
-rw-r--r--calendar/gui/dialogs/event-page.c4
1 files changed, 1 insertions, 3 deletions
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;
}