summaryrefslogtreecommitdiff
path: root/gnome-settings-daemon/gnome-settings-plugin.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-01-02 14:24:15 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-01-02 14:24:15 -0500
commitc71a1945a62aec86276cad317e1b2f05e265475c (patch)
tree066f784315d8da9a7e540cf5bc22b224e9f64696 /gnome-settings-daemon/gnome-settings-plugin.h
parent32f7a938fca072e14bad1928b492e29ba0e3090c (diff)
downloadgnome-settings-daemon-c71a1945a62aec86276cad317e1b2f05e265475c.tar.gz
Fix PluginName handling in new macro
When constructing a string literal, one needs to use stringification, not tokenization. This was causing PluginName## to appear in debug output.
Diffstat (limited to 'gnome-settings-daemon/gnome-settings-plugin.h')
-rw-r--r--gnome-settings-daemon/gnome-settings-plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnome-settings-daemon/gnome-settings-plugin.h b/gnome-settings-daemon/gnome-settings-plugin.h
index eb476155..1fbb2bba 100644
--- a/gnome-settings-daemon/gnome-settings-plugin.h
+++ b/gnome-settings-daemon/gnome-settings-plugin.h
@@ -97,7 +97,7 @@ plugin_name##_plugin_init (PluginName##Plugin *plugin) \
{ \
plugin->priv = G_TYPE_INSTANCE_GET_PRIVATE ((plugin), \
plugin_name##_plugin_get_type(), PluginName##PluginPrivate); \
- g_debug ("PluginName## initializing"); \
+ g_debug (#PluginName " initializing"); \
plugin->priv->manager = plugin_name##_manager_new (); \
} \
\