From b0e2ffdb14058597a576861c5e936174560be510 Mon Sep 17 00:00:00 2001 From: Denis Gorodnichev Date: Mon, 29 Sep 2014 11:24:50 +0400 Subject: gtk-3.14: invisible session properties dialog Fix invisible session properties dialog when running with gtk-3.14 Closes https://github.com/mate-desktop/mate-session-manager/pull/63 --- capplet/gsm-app-dialog.c | 2 ++ capplet/gsm-properties-dialog.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/capplet/gsm-app-dialog.c b/capplet/gsm-app-dialog.c index 464bd1f..c544783 100644 --- a/capplet/gsm-app-dialog.c +++ b/capplet/gsm-app-dialog.c @@ -255,7 +255,9 @@ gsm_app_dialog_constructor (GType type, setup_dialog (dialog); +#if !GTK_CHECK_VERSION (3, 14, 0) gtk_widget_show_all (GTK_WIDGET (dialog)); +#endif return G_OBJECT (dialog); } diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c index 907bb99..7d03abc 100644 --- a/capplet/gsm-properties-dialog.c +++ b/capplet/gsm-properties-dialog.c @@ -702,7 +702,9 @@ gsm_properties_dialog_constructor (GType type, setup_dialog (dialog); +#if !GTK_CHECK_VERSION (3, 14, 0) gtk_widget_show (GTK_WIDGET (dialog)); +#endif return G_OBJECT (dialog); } -- cgit v1.2.1