diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-06-25 03:38:42 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-06-25 03:39:24 +0200 |
commit | 19913a5e4880503dd06a73c03584e77d3cf504a0 (patch) | |
tree | 13c31a6fbb1af274cbb5e1d3b7eb800a93282cfd | |
parent | 1ef0a84bc78db9724aec53eeabc6ce132dc9c7d9 (diff) | |
download | fiv-19913a5e4880503dd06a73c03584e77d3cf504a0.tar.gz fiv-19913a5e4880503dd06a73c03584e77d3cf504a0.tar.xz fiv-19913a5e4880503dd06a73c03584e77d3cf504a0.zip |
Only show X11-specific option when it makes sense
-rw-r--r-- | fiv.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -604,6 +604,10 @@ show_preferences(GtkWidget *parent) int row = 0; gchar **keys = g_settings_schema_list_keys(schema); for (gchar **p = keys; *p; p++) { +#ifndef GDK_WINDOWING_X11 + if (g_str_equal(*p, "native-view-window")) + continue; +#endif GSettingsSchemaKey *key = g_settings_schema_get_key(schema, *p); preferences_make_row(grid, &row, settings, key); g_settings_schema_key_unref(key); |