summaryrefslogtreecommitdiff
path: root/capplets/common/file-transfer-dialog.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-24 16:15:16 +0100
committerStefano Karapetsas <[email protected]>2014-01-24 16:15:16 +0100
commitbf0565cd86651d60318b5d09876aed0cc5f6866e (patch)
treed45421f8e9cddb44cbe0410b4e9c380ad30709ff /capplets/common/file-transfer-dialog.c
parentc7f8998fe7874a500091a46d1856306834078b1d (diff)
downloadmate-control-center-bf0565cd86651d60318b5d09876aed0cc5f6866e.tar.bz2
mate-control-center-bf0565cd86651d60318b5d09876aed0cc5f6866e.tar.xz
common: Add GTK3 support
Diffstat (limited to 'capplets/common/file-transfer-dialog.c')
-rw-r--r--capplets/common/file-transfer-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplets/common/file-transfer-dialog.c b/capplets/common/file-transfer-dialog.c
index ad0c9a77..994fe8ae 100644
--- a/capplets/common/file-transfer-dialog.c
+++ b/capplets/common/file-transfer-dialog.c
@@ -337,7 +337,9 @@ file_transfer_dialog_init (FileTransferDialog *dlg)
gtk_dialog_add_button (GTK_DIALOG (dlg),
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
+#endif
gtk_container_set_border_width (GTK_CONTAINER (dlg), 6);
gtk_widget_show_all (content_area);