diff options
author | Seth Nickell <seth@src.gnome.org> | 2002-03-15 09:24:06 +0000 |
---|---|---|
committer | Seth Nickell <seth@src.gnome.org> | 2002-03-15 09:24:06 +0000 |
commit | 06603e6de0d3d0592361d8bb2e25dc1a7f09b117 (patch) | |
tree | 6434f3f054194ac2156de0ab179011b0f37a20db | |
parent | 8e834c8342c78da4bebdf7f452c548148446de76 (diff) | |
download | gnome-control-center-06603e6de0d3d0592361d8bb2e25dc1a7f09b117.tar.gz |
Add an enum type for specifying that we don't know the type (i.e. the key
* preferences.c: (bg_preferences_load),
(bg_preferences_merge_entry), (read_wptype_from_string),
(read_color_from_string), (bg_preferences_get_wptype_as_string):
* preferences.h:
Add an enum type for specifying that we don't know the type (i.e. the
key was not available, or set to something invalid). Currently it
was using -1, which barfs with some compilers that set enums
to be uint.
-rw-r--r-- | libbackground/preferences.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbackground/preferences.h b/libbackground/preferences.h index ab57d1cba..14a3c5621 100644 --- a/libbackground/preferences.h +++ b/libbackground/preferences.h @@ -52,7 +52,8 @@ typedef enum _orientation_t { typedef enum _wallpaper_type_t { WPTYPE_TILED = 0, WPTYPE_CENTERED, WPTYPE_SCALED, - WPTYPE_STRETCHED, WPTYPE_EMBOSSED, WPTYPE_NONE + WPTYPE_STRETCHED, WPTYPE_EMBOSSED, WPTYPE_NONE, + WPTYPE_UNSET } wallpaper_type_t; struct _BGPreferences |