summaryrefslogtreecommitdiff
path: root/mate-session/gsm-logout-dialog.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-05-17 14:08:57 +0300
committermonsta <[email protected]>2016-05-17 14:08:57 +0300
commite670e05cb08c66da2838abe2608cfccb8b09fafd (patch)
treef823fc1a2ee1d1beaade9c8805b60939f1ba874c /mate-session/gsm-logout-dialog.c
parentb17f0ae827ae6f0e949dda38a40ae72d822603b5 (diff)
downloadmate-session-manager-e670e05cb08c66da2838abe2608cfccb8b09fafd.tar.bz2
mate-session-manager-e670e05cb08c66da2838abe2608cfccb8b09fafd.tar.xz
require GTK+ >= 3.14, drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'mate-session/gsm-logout-dialog.c')
-rw-r--r--mate-session/gsm-logout-dialog.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c
index f53c197..06cecd0 100644
--- a/mate-session/gsm-logout-dialog.c
+++ b/mate-session/gsm-logout-dialog.c
@@ -523,15 +523,9 @@ gsm_get_dialog (GsmDialogLogoutType type,
dialog_image = gtk_message_dialog_get_image (GTK_MESSAGE_DIALOG (logout_dialog));
-#if GTK_CHECK_VERSION (3, 0, 0)
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
-#else
- hbox = gtk_hbox_new (FALSE, 0);
-#endif
logout_dialog->priv->progressbar = gtk_progress_bar_new ();
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_progress_bar_set_show_text (GTK_PROGRESS_BAR (logout_dialog->priv->progressbar), TRUE);
-#endif
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (logout_dialog->priv->progressbar), 1.0);
gtk_box_pack_start (GTK_BOX (hbox),
logout_dialog->priv->progressbar,