summaryrefslogtreecommitdiff
path: root/polkitgtkmate/example.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-05-17 14:17:36 +0300
committermonsta <[email protected]>2016-05-17 14:17:36 +0300
commita9222b1af3b486e12147dc0e0fe7143aa809cdec (patch)
treed574cbe607d9baba9389d2707dba80e7fd1a57da /polkitgtkmate/example.c
parente7ffa8fc66b7ab151bf1912d157a03119f9792cf (diff)
downloadmate-polkit-a9222b1af3b486e12147dc0e0fe7143aa809cdec.tar.bz2
mate-polkit-a9222b1af3b486e12147dc0e0fe7143aa809cdec.tar.xz
require GTK+ >= 3.14, drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'polkitgtkmate/example.c')
-rw-r--r--polkitgtkmate/example.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/polkitgtkmate/example.c b/polkitgtkmate/example.c
index f5c9f0a..6fc09da 100644
--- a/polkitgtkmate/example.c
+++ b/polkitgtkmate/example.c
@@ -115,11 +115,7 @@ int main(int argc, char* argv[])
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
-#if GTK_CHECK_VERSION (3, 0, 0)
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
-#else
- vbox = gtk_vbox_new(FALSE, 12);
-#endif
gtk_container_set_border_width(GTK_CONTAINER(window), 12);
gtk_container_add(GTK_CONTAINER(window), vbox);