Revision c4895e53fe413776ce01dc8c9adec3fbd95b93c5
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Wed Apr 11 01:22:54 EDT 2007
o -----------------------------------------------------------------
| Revision: c4895e53fe413776ce01dc8c9adec3fbd95b93c5
| Ancestor: 5ca99fb4b235309dbf41514329d877293090d8b1
| Author: nosnilmot
| Date: 2005-01-11T21:51:14
| Branch: im.pidgin.gaim.oldstatus
|
| Modified files:
| plugins/docklet/docklet-x11.c
|
| ChangeLog:
|
| [gaim-migrate @ 11798]
| Fix the docklet to work with Gtk < 2.2 (without the cool positioning function though).
| ============================================================
| --- plugins/docklet/docklet-x11.c 5ca8236dbb21959e614fb4a23fc05f92e90d63fa
| +++ plugins/docklet/docklet-x11.c 7623f8a9782b8612812c300d33aff686685050fe
| @@ -123,6 +123,7 @@ docklet_x11_blank_icon()
| gtk_image_set_from_pixbuf(GTK_IMAGE(image), blank_icon);
| }
|
| +#if GTK_CHECK_VERSION(2,2,0)
| static void
| docklet_x11_position_menu(GtkMenu *menu, int *x, int *y, gboolean *push_in,
| gpointer user_data)
| @@ -147,6 +148,7 @@ docklet_x11_position_menu(GtkMenu *menu,
|
| *push_in = TRUE;
| }
| +#endif
|
| static void
| docklet_x11_destroy()
| @@ -207,7 +209,11 @@ static struct docklet_ui_ops ui_ops =
| docklet_x11_destroy,
| docklet_x11_update_icon,
| docklet_x11_blank_icon,
| +#if GTK_CHECK_VERSION(2,2,0)
| docklet_x11_position_menu
| +#else
| + NULL
| +#endif
| };
|
| void
To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from c4895e53fe413776ce01dc8c9adec3fbd95b93c5
More information about the Commits
mailing list