aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-08-22 09:57:08 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-08-22 09:57:08 -0500
commit2481b74fa64122365eef5293ae86d71b5fae3fa6 (patch)
treecc3845ff2ee2c8ec173b072de9fabe29670588c4 /example
parent8f279d3f26f588bb022f3f0d05edff6858035eab (diff)
parent73302803e066d8d36e425feda15f57fca44f4bc5 (diff)
downloadayatana-ido-2481b74fa64122365eef5293ae86d71b5fae3fa6.tar.gz
ayatana-ido-2481b74fa64122365eef5293ae86d71b5fae3fa6.tar.bz2
ayatana-ido-2481b74fa64122365eef5293ae86d71b5fae3fa6.zip
merge lp:~charlesk/ido/nogtk2 to remove gtk2 support from the configure script and the source
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.am4
-rw-r--r--example/menus.c4
-rw-r--r--example/messagedialog.c4
3 files changed, 0 insertions, 12 deletions
diff --git a/example/Makefile.am b/example/Makefile.am
index b986b9b..a578404 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -1,8 +1,4 @@
-if USE_GTK3
VER=3
-else
-VER=
-endif
noinst_PROGRAMS = \
messagedialog \
diff --git a/example/menus.c b/example/menus.c
index 12a2284..5687b8e 100644
--- a/example/menus.c
+++ b/example/menus.c
@@ -40,11 +40,7 @@ main (int argc, char *argv[])
g_signal_connect (window, "delete-event",
G_CALLBACK (gtk_main_quit), NULL);
-#ifdef USE_GTK3
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#else
- vbox = gtk_vbox_new (FALSE, 0);
-#endif
gtk_container_add (GTK_CONTAINER (window), vbox);
diff --git a/example/messagedialog.c b/example/messagedialog.c
index 4ba866b..d9cfc21 100644
--- a/example/messagedialog.c
+++ b/example/messagedialog.c
@@ -41,11 +41,7 @@ main (int argc, char *argv[])
gtk_window_set_title (GTK_WINDOW (window), "Message Dialogs");
g_signal_connect (window, "destroy", gtk_main_quit, NULL);
-#ifdef USE_GTK3
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#else
- vbox = gtk_vbox_new (FALSE, 0);
-#endif
gtk_container_add (GTK_CONTAINER (window), vbox);