glib: don't quote quark names for G_DEFINE_QUARK
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 28 Aug 2012 17:15:56 +0000 (13:15 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 28 Aug 2012 17:16:24 +0000 (13:16 -0400)
14 files changed:
glib/gbookmarkfile.c
glib/gconvert.c
glib/gfileutils.c
glib/giochannel.c
glib/gkeyfile.c
glib/glib-unix.c
glib/gmarkup.c
glib/goption.c
glib/gregex.c
glib/gshell.c
glib/gspawn-win32.c
glib/gspawn.c
glib/gthread.c
glib/gvariant-parser.c

index 28eba21..2f50200 100644 (file)
@@ -1585,7 +1585,7 @@ timestamp_from_iso8601 (const gchar *iso_date)
   return (time_t) stamp.tv_sec;
 }
 
-G_DEFINE_QUARK ("g-bookmark-file-error-quark", g_bookmark_file_error)
+G_DEFINE_QUARK (g-bookmark-file-error-quark, g_bookmark_file_error)
 
 /********************
  *    Public API    *
index 9f3bae3..bbc15bb 100644 (file)
  */
 #define NUL_TERMINATOR_LENGTH 4
 
-G_DEFINE_QUARK ("g_convert_error", g_convert_error)
+G_DEFINE_QUARK (g_convert_error, g_convert_error)
 
 static gboolean
 try_conversion (const char *to_codeset,
index 0ac295c..b255a53 100644 (file)
@@ -459,7 +459,7 @@ g_file_test (const gchar *filename,
 #endif
 }
 
-G_DEFINE_QUARK ("g-file-error-quark", g_file_error)
+G_DEFINE_QUARK (g-file-error-quark, g_file_error)
 
 /**
  * g_file_error_from_errno:
index 8d19308..4cf205a 100644 (file)
@@ -2581,4 +2581,4 @@ g_io_channel_write_unichar (GIOChannel  *channel,
  * Error codes returned by #GIOChannel operations.
  **/
 
-G_DEFINE_QUARK ("g-io-channel-error-quark", g_io_channel_error)
+G_DEFINE_QUARK (g-io-channel-error-quark, g_io_channel_error)
index 161370f..3fc965c 100644 (file)
@@ -554,7 +554,7 @@ static void                  g_key_file_parse_data             (GKeyFile
 static void                  g_key_file_flush_parse_buffer     (GKeyFile               *key_file,
                                                                GError                **error);
 
-G_DEFINE_QUARK ("g-key-file-error-quark", g_key_file_error)
+G_DEFINE_QUARK (g-key-file-error-quark, g_key_file_error)
 
 static void
 g_key_file_init (GKeyFile *key_file)
index bf7e291..7d2f367 100644 (file)
@@ -43,7 +43,7 @@
  * "glib-unix.h" header.
  */
 
-G_DEFINE_QUARK ("g-unix-error-quark", g_unix_error)
+G_DEFINE_QUARK (g-unix-error-quark, g_unix_error)
 
 static gboolean
 g_unix_set_error_from_errno (GError **error,
index 8c7cf6c..6555545 100644 (file)
@@ -83,7 +83,7 @@
  * </itemizedlist>
  */
 
-G_DEFINE_QUARK ("g-markup-error-quark", g_markup_error)
+G_DEFINE_QUARK (g-markup-error-quark, g_markup_error)
 
 typedef enum
 {
index 1798288..fa8c951 100644 (file)
@@ -272,7 +272,7 @@ _g_utf8_strwidth (const gchar *p)
   return len;
 }
 
-G_DEFINE_QUARK ("g-option-context-error-quark", g_option_error)
+G_DEFINE_QUARK (g-option-context-error-quark, g_option_error)
 
 /**
  * g_option_context_new:
index 4df6d92..1ae8e0a 100644 (file)
@@ -1229,7 +1229,7 @@ g_match_info_fetch_all (const GMatchInfo *match_info)
 
 /* GRegex */
 
-G_DEFINE_QUARK ("g-regex-error-quark", g_regex_error)
+G_DEFINE_QUARK (g-regex-error-quark, g_regex_error)
 
 /**
  * g_regex_ref:
index 509c444..32cb334 100644 (file)
@@ -55,7 +55,7 @@
  *
  * Error codes returned by shell functions.
  **/
-G_DEFINE_QUARK ("g-shell-error-quark", g_shell_error)
+G_DEFINE_QUARK (g-shell-error-quark, g_shell_error)
 
 /* Single quotes preserve the literal string exactly. escape
  * sequences are not allowed; not even \' - if you want a '
index 5bf9126..40cb44a 100644 (file)
@@ -206,8 +206,8 @@ protect_argv (gchar  **argv,
   return argc;
 }
 
-G_DEFINE_QUARK ("g-exec-error-quark", g_spawn_error)
-G_DEFINE_QUARK ("g-spawn-exit-error-quark", g_spawn_exit_error)
+G_DEFINE_QUARK (g-exec-error-quark, g_spawn_error)
+G_DEFINE_QUARK (g-spawn-exit-error-quark, g_spawn_exit_error)
 
 gboolean
 g_spawn_async_utf8 (const gchar          *working_directory,
index aec0e18..14d1b4c 100644 (file)
@@ -89,8 +89,8 @@ static gboolean fork_exec_with_pipes (gboolean              intermediate_child,
                                       gint                 *standard_error,
                                       GError              **error);
 
-G_DEFINE_QUARK ("g-exec-error-quark", g_spawn_error)
-G_DEFINE_QUARK ("g-spawn-exit-error-quark", g_spawn_exit_error)
+G_DEFINE_QUARK (g-exec-error-quark, g_spawn_error)
+G_DEFINE_QUARK (g-spawn-exit-error-quark, g_spawn_exit_error)
 
 /**
  * g_spawn_async:
index d3533b2..ee87574 100644 (file)
  *
  * The error domain of the GLib thread subsystem.
  **/
-G_DEFINE_QUARK ("g_thread_error", g_thread_error)
+G_DEFINE_QUARK (g_thread_error, g_thread_error)
 
 /* Local Data {{{1 -------------------------------------------------------- */
 
index 1277521..0662be3 100644 (file)
@@ -71,7 +71,7 @@
  *
  * Error codes returned by parsing text-format GVariants.
  **/
-G_DEFINE_QUARK ("g-variant-parse-error-quark", g_variant_parser_get_error)
+G_DEFINE_QUARK (g-variant-parse-error-quark, g_variant_parser_get_error)
 
 typedef struct
 {