summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-07-06 11:56:28 +0100
committerBastien Nocera <hadess@hadess.net>2012-07-06 11:58:04 +0100
commit8b0230eaa8bb523ed146c9894d0f0deb0521fc75 (patch)
treefe1a14143acc47434ce654b46df56734db8d599e
parent1a534c2afa7d9cea434e2e17f2b6cde9528bb974 (diff)
downloadlibpeas-8b0230eaa8bb523ed146c9894d0f0deb0521fc75.tar.gz
Mention the section name for malformed .plugin files
This would have saved me some time, trying to port an old plugin with the section "[Totem Plugin]" instead of "[Plugin]". https://bugzilla.gnome.org/show_bug.cgi?id=679507
-rw-r--r--libpeas/peas-plugin-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpeas/peas-plugin-info.c b/libpeas/peas-plugin-info.c
index 29e7c1a..7ff291e 100644
--- a/libpeas/peas-plugin-info.c
+++ b/libpeas/peas-plugin-info.c
@@ -159,7 +159,7 @@ _peas_plugin_info_new (const gchar *filename,
}
else
{
- g_warning ("Could not find 'Module' in '%s'", filename);
+ g_warning ("Could not find 'Module' in '[Plugin]' section in '%s'", filename);
goto error;
}
@@ -170,7 +170,7 @@ _peas_plugin_info_new (const gchar *filename,
info->name = str;
else
{
- g_warning ("Could not find 'Name' in '%s'", filename);
+ g_warning ("Could not find 'Name' in '[Plugin]' section in '%s'", filename);
goto error;
}