summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>2002-07-24 02:08:59 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-07-24 02:08:59 +0000
commit8566bf0bf68665bd0de20550f1370f6274d10cec (patch)
tree03d48f2018dfc23f6063a468523b8b1db8fb09fb
parent3349b8e5dcb96ab41d4a03a7983823e222f077be (diff)
downloadgnome-control-center-8566bf0bf68665bd0de20550f1370f6274d10cec.tar.gz
ue Jul 23 22:06:08 2002 Owen Taylor <otaylor@redhat.com>
* capplets/keyboard/gnome-keyboard-properties.c: Fix unterminated GConfEnumStringPair array. * gnome-settings-daemon/gnome-settings-default-editor.c: Fix some comments that had embedded /* which was causing GCC warnings.
-rw-r--r--capplets/keyboard/gnome-keyboard-properties.c3
-rw-r--r--gnome-settings-daemon/gnome-settings-default-editor.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/capplets/keyboard/gnome-keyboard-properties.c b/capplets/keyboard/gnome-keyboard-properties.c
index 879e79564..3ee4777aa 100644
--- a/capplets/keyboard/gnome-keyboard-properties.c
+++ b/capplets/keyboard/gnome-keyboard-properties.c
@@ -56,7 +56,8 @@ create_dialog (void)
static GConfEnumStringPair bell_enums[] = {
{ 0, "off" },
{ 1, "on" },
- { 2, "custom" }
+ { 2, "custom" },
+ { -1, NULL }
};
static GConfValue *
diff --git a/gnome-settings-daemon/gnome-settings-default-editor.c b/gnome-settings-daemon/gnome-settings-default-editor.c
index d1a3e791f..190b37a6c 100644
--- a/gnome-settings-daemon/gnome-settings-default-editor.c
+++ b/gnome-settings-daemon/gnome-settings-default-editor.c
@@ -10,9 +10,9 @@
/*
* WARNING: This is a hack.
*
- * All it does is keep the "text/*" and "text/plain" mime type
+ * All it does is keep the "text / *" and "text/plain" mime type
* handlers in sync with each other. The reason we do this is because
- * there is no UI for editing the text/* handler, and this is probably
+ * there is no UI for editing the text / * handler, and this is probably
* what the user actually wants to do.
*/