summaryrefslogtreecommitdiff
path: root/capplet
diff options
context:
space:
mode:
authorDenis Gorodnichev <[email protected]>2014-09-29 11:24:50 +0400
committerStefano Karapetsas <[email protected]>2014-10-03 10:31:18 +0200
commitb0e2ffdb14058597a576861c5e936174560be510 (patch)
treed2483b3a5b765c7065906cd272447e2d37531b54 /capplet
parentca95cd34c5c6f9f9e5873b4732338e23c30988e8 (diff)
downloadmate-session-manager-b0e2ffdb14058597a576861c5e936174560be510.tar.bz2
mate-session-manager-b0e2ffdb14058597a576861c5e936174560be510.tar.xz
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
Diffstat (limited to 'capplet')
-rw-r--r--capplet/gsm-app-dialog.c2
-rw-r--r--capplet/gsm-properties-dialog.c2
2 files changed, 4 insertions, 0 deletions
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);
}