aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
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
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')
-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)