[libpeas] Keep global variables in the same place
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Keep global variables in the same place
- Date: Sun, 12 Jun 2011 19:15:44 +0000 (UTC)
commit 010e228cb7f512a4f47a7e8c7f14d54462847725
Author: Garrett Regier <alias301 gmail com>
Date: Sun Jun 12 01:51:54 2011 -0700
Keep global variables in the same place
libpeas/peas-engine.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libpeas/peas-engine.c b/libpeas/peas-engine.c
index d4be0c4..e6f471e 100644
--- a/libpeas/peas-engine.c
+++ b/libpeas/peas-engine.c
@@ -59,6 +59,8 @@
G_DEFINE_TYPE (PeasEngine, peas_engine, G_TYPE_OBJECT);
static PeasEngine *default_engine = NULL;
+static gboolean shutdown = FALSE;
+static GHashTable *loaders = NULL;
/* Signals */
enum {
@@ -101,9 +103,6 @@ static void peas_engine_load_plugin_real (PeasEngine *engine,
static void peas_engine_unload_plugin_real (PeasEngine *engine,
PeasPluginInfo *info);
-static gboolean shutdown = FALSE;
-static GHashTable *loaders = NULL;
-
static void
load_plugin_info (PeasEngine *engine,
const gchar *filename,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]