summaryrefslogtreecommitdiff
path: root/mate-session/gsm-logout-dialog.c
diff options
context:
space:
mode:
authorDenis Gorodnichev <[email protected]>2014-02-18 12:42:10 +0400
committerDenis Gorodnichev <[email protected]>2014-02-18 12:42:10 +0400
commite5c421516ea2362f73b764430abafa3e93c6a9e6 (patch)
tree0a5e183de87bcefe1868bda4b4912ac08d170749 /mate-session/gsm-logout-dialog.c
parent1ef1de009cf1303a92a34104766dd29d3726be46 (diff)
downloadmate-session-manager-e5c421516ea2362f73b764430abafa3e93c6a9e6.tar.bz2
mate-session-manager-e5c421516ea2362f73b764430abafa3e93c6a9e6.tar.xz
fix gtk3 warnings
Diffstat (limited to 'mate-session/gsm-logout-dialog.c')
-rw-r--r--mate-session/gsm-logout-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c
index 4d70d58..1f5846b 100644
--- a/mate-session/gsm-logout-dialog.c
+++ b/mate-session/gsm-logout-dialog.c
@@ -499,7 +499,11 @@ 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 ();
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (logout_dialog->priv->progressbar), 1.0);
gtk_box_pack_start (GTK_BOX (hbox),