diff options
author | Denis Gorodnichev <[email protected]> | 2014-09-29 11:24:50 +0400 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-10-03 10:31:18 +0200 |
commit | b0e2ffdb14058597a576861c5e936174560be510 (patch) | |
tree | d2483b3a5b765c7065906cd272447e2d37531b54 /capplet | |
parent | ca95cd34c5c6f9f9e5873b4732338e23c30988e8 (diff) | |
download | mate-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.c | 2 | ||||
-rw-r--r-- | capplet/gsm-properties-dialog.c | 2 |
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); } |