[libpeas] Mention the section name for malformed .plugin files
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Mention the section name for malformed .plugin files
- Date: Tue, 17 Jul 2012 17:43:06 +0000 (UTC)
commit 8b0230eaa8bb523ed146c9894d0f0deb0521fc75
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jul 6 11:56:28 2012 +0100
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
libpeas/peas-plugin-info.c | 4 ++--
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]