simplify some more code, and fix a crash when the cursor theme in GConf is

2007-10-29  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (gtk_theme_changed), (window_theme_changed),
	(icon_theme_changed), (update_cursor_size_scale),
	(cursor_theme_changed):
	* appearance-themes.c: (theme_selection_changed_cb):
	* theme-util.c: (theme_is_writable):
	* theme-util.h: simplify some more code, and fix a crash when the
	cursor theme in GConf is unset that I introduced in r8212

svn path=/trunk/; revision=8228
This commit is contained in:
Jens Granseuer 2007-10-28 23:01:09 +00:00 committed by Jens Granseuer
parent 194de56db9
commit 286cdd1fcd
5 changed files with 18 additions and 9 deletions

View file

@ -50,7 +50,7 @@ typedef enum {
THEME_TYPE_CURSOR
} ThemeType;
gboolean theme_is_writable (const gpointer theme, ThemeType type);
gboolean theme_is_writable (const gpointer theme);
gboolean theme_delete (const gchar *name, ThemeType type);
gboolean theme_model_iter_last (GtkTreeModel *model, GtkTreeIter *iter);