--- 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 }