aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/parser.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-26 13:33:24 -0600
committerTed Gould <ted@gould.cx>2012-01-26 13:33:24 -0600
commitd0065933d25307a95644e3ab984de0f4f848d6ad (patch)
tree91edcc0d4bc2152de7a914033e0fb65518915b2b /libdbusmenu-gtk/parser.c
parent248e0c0f0ce3883579caa56369e7e92340ae9c64 (diff)
downloadlibdbusmenu-d0065933d25307a95644e3ab984de0f4f848d6ad.tar.gz
libdbusmenu-d0065933d25307a95644e3ab984de0f4f848d6ad.tar.bz2
libdbusmenu-d0065933d25307a95644e3ab984de0f4f848d6ad.zip
Remove custom WITH_GTK3 and use the HAVE_GTK3
Diffstat (limited to 'libdbusmenu-gtk/parser.c')
-rw-r--r--libdbusmenu-gtk/parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c
index 5f50dc6..d222f10 100644
--- a/libdbusmenu-gtk/parser.c
+++ b/libdbusmenu-gtk/parser.c
@@ -68,7 +68,7 @@ static void action_notify_cb (GtkAction * action,
gpointer data);
static void item_inserted_cb (GtkContainer * menu,
GtkWidget * widget,
-#ifdef WITH_GTK3
+#ifdef HAVE_GTK3
gint position,
#endif
gpointer data);
@@ -293,7 +293,7 @@ watch_submenu(DbusmenuMenuitem * mi, GtkWidget * menu)
pdata->shell = menu;
g_signal_connect (G_OBJECT (menu),
-#ifdef WITH_GTK3
+#ifdef HAVE_GTK3
"insert",
#else
"child-added"
@@ -1146,7 +1146,7 @@ widget_add_cb (GtkWidget *widget,
static void
item_inserted_cb (GtkContainer *menu,
GtkWidget *widget,
-#ifdef WITH_GTK3
+#ifdef HAVE_GTK3
gint position,
#endif
gpointer data)