diff options
Diffstat (limited to 'plugins/xsettings/xsettings-common.h')
-rw-r--r-- | plugins/xsettings/xsettings-common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/xsettings/xsettings-common.h b/plugins/xsettings/xsettings-common.h index e3af4a6..caf0e59 100644 --- a/plugins/xsettings/xsettings-common.h +++ b/plugins/xsettings/xsettings-common.h @@ -15,7 +15,7 @@ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL RED HAT * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION - * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * Author: Owen Taylor, Red Hat, Inc. @@ -35,7 +35,7 @@ typedef struct _XSettingsSetting XSettingsSetting; /* Types of settings possible. Enum values correspond to * protocol values. */ -typedef enum +typedef enum { XSETTINGS_TYPE_INT = 0, XSETTINGS_TYPE_STRING = 1, @@ -75,7 +75,7 @@ struct _XSettingsSetting { char *name; XSettingsType type; - + union { int v_int; char *v_string; |