summaryrefslogtreecommitdiff
path: root/src/copy-theme-dialog.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-09 12:08:18 +0200
committerinfirit <[email protected]>2015-07-09 12:15:32 +0200
commit72dd61aa3a3a98bf38c2cc3aa7e36f99b620be24 (patch)
tree4e76ed8e327a98bb4a89876a5747b1ea375fda07 /src/copy-theme-dialog.c
parenta3c426e1e81dc56f4fdd56f8c736125798fec26b (diff)
downloadmate-screensaver-72dd61aa3a3a98bf38c2cc3aa7e36f99b620be24.tar.bz2
mate-screensaver-72dd61aa3a3a98bf38c2cc3aa7e36f99b620be24.tar.xz
Use accessor functions instead of direct access
Make Gtk2 build with GSEAL_ENABLE And cut down on ifdef hell.
Diffstat (limited to 'src/copy-theme-dialog.c')
-rw-r--r--src/copy-theme-dialog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/copy-theme-dialog.c b/src/copy-theme-dialog.c
index 045674e..b594966 100644
--- a/src/copy-theme-dialog.c
+++ b/src/copy-theme-dialog.c
@@ -201,11 +201,7 @@ copy_theme_dialog_init (CopyThemeDialog *dlg)
dlg->priv->cancellable = g_cancellable_new ();
/* GUI settings */
-#if GTK_CHECK_VERSION (3, 0, 0)
dialog_vbox = gtk_dialog_get_content_area (GTK_DIALOG (dlg));
-#else
- dialog_vbox = GTK_DIALOG (dlg)->vbox;
-#endif
gtk_container_set_border_width (GTK_CONTAINER (dialog_vbox),
4);