aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-05-07 17:18:10 -0700
committerCharles Kerr <charles.kerr@canonical.com>2012-05-07 17:18:10 -0700
commit84a63033c820bf890e0bcecd2f07cc325c44e9e9 (patch)
tree64bc31aaac19f8c5785b851f3b07541d91d36a8c /example
parent78c634c4ff2d9f64712f4a667facc66dc48a9762 (diff)
downloadayatana-ido-84a63033c820bf890e0bcecd2f07cc325c44e9e9.tar.gz
ayatana-ido-84a63033c820bf890e0bcecd2f07cc325c44e9e9.tar.bz2
ayatana-ido-84a63033c820bf890e0bcecd2f07cc325c44e9e9.zip
require gtk3
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 b563eaf..207c0e4 100644
--- a/example/menus.c
+++ b/example/menus.c
@@ -38,11 +38,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);