aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbusmenu-gtk/Makefile.am2
-rw-r--r--libdbusmenu-gtk/parser.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/libdbusmenu-gtk/Makefile.am b/libdbusmenu-gtk/Makefile.am
index 9e0967f..b4564d1 100644
--- a/libdbusmenu-gtk/Makefile.am
+++ b/libdbusmenu-gtk/Makefile.am
@@ -76,7 +76,7 @@ libdbusmenu_gtk3includedir = $(libdbusmenu_gtkincludedir)
libdbusmenu_gtk3include_HEADERS = $(libdbusmenu_gtkinclude_HEADERS)
libdbusmenu_gtk3_la_SOURCES = $(libdbusmenu_gtk_la_SOURCES)
libdbusmenu_gtk3_la_LDFLAGS = $(libdbusmenu_gtk_la_LDFLAGS)
-libdbusmenu_gtk3_la_CFLAGS = $(libdbusmenu_gtk_la_CFLAGS) -DWITH_GTK3
+libdbusmenu_gtk3_la_CFLAGS = $(libdbusmenu_gtk_la_CFLAGS)
libdbusmenu_gtk3_la_LIBADD = $(libdbusmenu_gtk_la_LIBADD)
pkgconfig_DATA = dbusmenu-gtk$(VER)-0.4.pc
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)