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:
parent
194de56db9
commit
286cdd1fcd
5 changed files with 18 additions and 9 deletions
|
@ -26,12 +26,11 @@
|
|||
#include <string.h>
|
||||
|
||||
gboolean
|
||||
theme_is_writable (const gpointer theme, ThemeType type)
|
||||
theme_is_writable (const gpointer theme)
|
||||
{
|
||||
GnomeThemeCommonInfo *info = theme;
|
||||
GnomeVFSResult vfs_result;
|
||||
GnomeVFSFileInfo *vfs_info;
|
||||
const gchar *theme_path;
|
||||
gboolean writable;
|
||||
|
||||
if (info == NULL || info->path == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue