diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-01-02 14:24:15 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-01-02 14:24:15 -0500 |
commit | c71a1945a62aec86276cad317e1b2f05e265475c (patch) | |
tree | 066f784315d8da9a7e540cf5bc22b224e9f64696 /gnome-settings-daemon/gnome-settings-plugin.h | |
parent | 32f7a938fca072e14bad1928b492e29ba0e3090c (diff) | |
download | gnome-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.h | 2 |
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 (); \ } \ \ |