[glib] gobject/gio: some last missed statics/inclues
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gobject/gio: some last missed statics/inclues
- Date: Mon, 17 Oct 2011 01:53:39 +0000 (UTC)
commit b0760207197cb32dcc89190f6329a043670ecbd7
Author: Ryan Lortie <desrt desrt ca>
Date: Sun Oct 16 21:53:03 2011 -0400
gobject/gio: some last missed statics/inclues
gio/glib-compile-schemas.c | 2 +-
gobject/gparam.c | 2 +-
gobject/gvalue.c | 1 +
gobject/testgobject.c | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c
index 803bfb5..39938bf 100644
--- a/gio/glib-compile-schemas.c
+++ b/gio/glib-compile-schemas.c
@@ -53,7 +53,7 @@ enum_state_free (gpointer data)
g_slice_free (EnumState, state);
}
-EnumState *
+static EnumState *
enum_state_new (gboolean is_flags)
{
EnumState *state;
diff --git a/gobject/gparam.c b/gobject/gparam.c
index 22f72b2..8b4e455 100644
--- a/gobject/gparam.c
+++ b/gobject/gparam.c
@@ -28,7 +28,7 @@
#include "gparam.h"
#include "gparamspecs.h"
#include "gvaluecollector.h"
-
+#include "gtype-private.h"
/**
* SECTION:gparamspec
diff --git a/gobject/gvalue.c b/gobject/gvalue.c
index 5fc7654..fcadab9 100644
--- a/gobject/gvalue.c
+++ b/gobject/gvalue.c
@@ -28,6 +28,7 @@
#include "gvalue.h"
#include "gvaluecollector.h"
#include "gbsearcharray.h"
+#include "gtype-private.h"
/**
diff --git a/gobject/testgobject.c b/gobject/testgobject.c
index ac6bc26..2afd8aa 100644
--- a/gobject/testgobject.c
+++ b/gobject/testgobject.c
@@ -320,7 +320,7 @@ struct _DerivedObjectPrivate
};
static void derived_object_class_init (DerivedObjectClass *class);
static void derived_object_init (DerivedObject *dobject);
-GType
+static GType
derived_object_get_type (void)
{
static GType derived_object_type = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]