diff options
author | monsta <[email protected]> | 2016-11-02 15:38:24 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-02 15:38:24 +0300 |
commit | b90041cb958032b3307eb19e0fd37831d54c5d9a (patch) | |
tree | bb5c034f7cab7e19d3947bf67ed7fc9cad090b82 /capplets/appearance/appearance-style.c | |
parent | 7ec8dfe386585a28257a443bcc5c47d937c741fb (diff) | |
download | mate-control-center-b90041cb958032b3307eb19e0fd37831d54c5d9a.tar.bz2 mate-control-center-b90041cb958032b3307eb19e0fd37831d54c5d9a.tar.xz |
build: require XCursor unconditionally
and drop bundled cursor files (.pcf) - they are not used at all
when XCursor library is in use
Diffstat (limited to 'capplets/appearance/appearance-style.c')
-rw-r--r-- | capplets/appearance/appearance-style.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c index fbc090ed..a5ad6730 100644 --- a/capplets/appearance/appearance-style.c +++ b/capplets/appearance/appearance-style.c @@ -509,7 +509,6 @@ icon_theme_changed (GSettings *settings, gchar *key, AppearanceData *data) theme_is_writable (theme)); } -#ifdef HAVE_XCURSOR static void cursor_size_changed_cb (int size, AppearanceData *data) { @@ -536,13 +535,11 @@ cursor_size_scale_value_changed_cb (GtkRange *range, AppearanceData *data) cursor_size_changed_cb (size, data); } } -#endif static void update_cursor_size_scale (MateThemeCursorInfo *theme, AppearanceData *data) { -#ifdef HAVE_XCURSOR GtkWidget *cursor_size_scale; GtkWidget *cursor_size_label; GtkWidget *cursor_size_small_label; @@ -610,7 +607,6 @@ update_cursor_size_scale (MateThemeCursorInfo *theme, if (size != gsettings_size) cursor_size_changed_cb (size, data); -#endif } static void @@ -1090,7 +1086,6 @@ style_init (AppearanceData *data) settings = gtk_settings_get_default (); g_signal_connect (settings, "notify::gtk-color-scheme", (GCallback) color_scheme_changed, data); -#ifdef HAVE_XCURSOR w = appearance_capplet_get_widget (data, "cursor_size_scale"); g_signal_connect (w, "value-changed", (GCallback) cursor_size_scale_value_changed_cb, data); @@ -1103,13 +1098,6 @@ style_init (AppearanceData *data) label = g_strdup_printf ("<small><i>%s</i></small>", gtk_label_get_text (GTK_LABEL (w))); gtk_label_set_markup (GTK_LABEL (w), label); g_free (label); -#else - w = appearance_capplet_get_widget (data, "cursor_size_hbox"); - gtk_widget_set_no_show_all (w, TRUE); - gtk_widget_hide (w); - gtk_widget_show (appearance_capplet_get_widget (data, "cursor_message_hbox")); - gtk_box_set_spacing (GTK_BOX (appearance_capplet_get_widget (data, "cursor_vbox")), 12); -#endif /* connect signals */ /* color buttons */ |