[libpeas/1.4] Mention the section name for malformed .plugin files
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas/1.4] Mention the section name for malformed .plugin files
- Date: Tue, 17 Jul 2012 18:39:29 +0000 (UTC)
commit d523f49d78a671cee41313d1e3a5f6606e3e41a2
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 a71fd22..97327d7 100644
--- a/libpeas/peas-plugin-info.c
+++ b/libpeas/peas-plugin-info.c
@@ -154,7 +154,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;
}
@@ -165,7 +165,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]