[libpeas] Make position signed in peas_engine_insert_search_path()
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Make position signed in peas_engine_insert_search_path()
- Date: Mon, 16 Apr 2012 15:24:32 +0000 (UTC)
commit 7da9be405fd81180b9e11c85a764c5d439192bc4
Author: Garrett Regier <garrettregier gmail com>
Date: Mon Apr 16 08:23:42 2012 -0700
Make position signed in peas_engine_insert_search_path()
peas_engine_add_search_path() passes -1 as the position and g_list_insert()
expects a gint not guint.
libpeas/peas-engine.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libpeas/peas-engine.c b/libpeas/peas-engine.c
index a321b78..e82f5eb 100644
--- a/libpeas/peas-engine.c
+++ b/libpeas/peas-engine.c
@@ -218,7 +218,7 @@ peas_engine_rescan_plugins (PeasEngine *engine)
static void
peas_engine_insert_search_path (PeasEngine *engine,
- guint position,
+ gint position,
const gchar *module_dir,
const gchar *data_dir)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]