# HG changeset patch # User Nathan Walp # Date 1076621818 0 # Node ID 4a64489073828d6c78f035bf6af7eff1dacb6008 # Parent e7524f4b4ed263b063fb776613dbf9c22466db2f [gaim-migrate @ 8970] someone find out if this fixes the compile for gtk 2.0.x committer: Tailor Script diff -r e7524f4b4ed2 -r 4a6448907382 src/gtkutils.c --- a/src/gtkutils.c Thu Feb 12 20:58:36 2004 +0000 +++ b/src/gtkutils.c Thu Feb 12 21:36:58 2004 +0000 @@ -1397,6 +1397,7 @@ g_object_unref (relation); } +#if GTK_CHECK_VERSION(2,2,0) static void gaim_gtk_menu_position_func(GtkMenu *menu, gint *x, @@ -1546,6 +1547,8 @@ } } +#endif + void gaim_gtk_treeview_popup_menu_position_func(GtkMenu *menu, gint *x, @@ -1566,5 +1569,7 @@ *x += rect.x+rect.width; *y += rect.y+rect.height+ythickness; +#if GTK_CHECK_VERSION(2,2,0) gaim_gtk_menu_position_func (menu, x, y, push_in, data); +#endif }