also remove code that we needed when the thumbnailer was still in-process

2007-08-07  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (gtk_theme_changed): also remove code that we
	needed when the thumbnailer was still in-process

svn path=/trunk/; revision=7973
This commit is contained in:
Jens Granseuer 2007-08-07 21:01:52 +00:00 committed by Jens Granseuer
parent 3d0bb8f59d
commit 137138efa4
2 changed files with 6 additions and 11 deletions

View file

@ -1,3 +1,8 @@
2007-08-07 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (gtk_theme_changed): also remove code that we
needed when the thumbnailer was still in-process
2007-08-07 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (color_button_clicked_cb): remove stuff I forgot

View file

@ -303,21 +303,11 @@ gtk_theme_changed (GConfPropertyEditor *peditor,
{
GnomeThemeInfo *theme = NULL;
const gchar *name;
gchar *current_theme;
GtkSettings *settings = gtk_settings_get_default ();
if (value && (name = gconf_value_get_string (value))) {
if (value && (name = gconf_value_get_string (value)))
theme = gnome_theme_info_find (name);
/* manually update GtkSettings to new gtk+ theme. */
g_object_get (settings, "gtk-theme-name", &current_theme, NULL);
if (strcmp (current_theme, name) != 0)
g_object_set (settings, "gtk-theme-name", name, NULL);
g_free (current_theme);
}
check_color_schemes_enabled (settings, data);
update_color_buttons_from_settings (settings, data);