summaryrefslogtreecommitdiff
path: root/capplets/appearance/appearance-ui.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-03-25 07:43:56 +0100
committerraveit65 <[email protected]>2021-04-08 08:14:15 +0200
commit13ea06954e8060e5dbec510321e886e786fb4fd6 (patch)
tree183b12aca8000ed1a32d0893118ef1d31e462c69 /capplets/appearance/appearance-ui.c
parent1fb98cded4f34135dfa99b0b6ce8eb7c1c8152e0 (diff)
downloadmate-control-center-13ea06954e8060e5dbec510321e886e786fb4fd6.tar.bz2
mate-control-center-13ea06954e8060e5dbec510321e886e786fb4fd6.tar.xz
appearance: Type column in GtkFileChooser requires gtk 3.24.12
Diffstat (limited to 'capplets/appearance/appearance-ui.c')
-rw-r--r--capplets/appearance/appearance-ui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplets/appearance/appearance-ui.c b/capplets/appearance/appearance-ui.c
index 8b21056d..5b0437d7 100644
--- a/capplets/appearance/appearance-ui.c
+++ b/capplets/appearance/appearance-ui.c
@@ -114,11 +114,13 @@ ui_init (AppearanceData *data)
"active",
G_SETTINGS_BIND_DEFAULT);
+#if GTK_CHECK_VERSION(3, 24, 12)
g_settings_bind (data->filechooser_settings,
FILECHOOSER_TYPE_COL_KEY,
gtk_builder_get_object (data->ui, "filechooser_type_column_toggle"),
"active",
G_SETTINGS_BIND_DEFAULT);
+#endif /* GTK_CHECK_VERSION(3, 24, 12) */
g_settings_bind (data->filechooser_settings,
FILECHOOSER_DIR_FIRST_KEY,