[gtkglext] Remove redundant protos



commit e9845034167997df0582a13c1d87c173448d123d
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Jul 20 15:15:51 2010 +0530

    Remove redundant protos

 gdk/x11/gdkglcontext-x11.c |   23 ++++++++++-------------
 1 files changed, 10 insertions(+), 13 deletions(-)
---
diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c
index f3166ad..788ad5a 100644
--- a/gdk/x11/gdkglcontext-x11.c
+++ b/gdk/x11/gdkglcontext-x11.c
@@ -32,9 +32,6 @@ static void          gdk_gl_context_insert (GdkGLContext *glcontext);
 static void          gdk_gl_context_remove (GdkGLContext *glcontext);
 static GdkGLContext *gdk_gl_context_lookup (GLXContext    glxcontext);
 
-static void gdk_gl_context_impl_x11_class_init (GdkGLContextImplX11Class *klass);
-static void gdk_gl_context_impl_x11_finalize   (GObject                  *object);
-
 G_DEFINE_TYPE (GdkGLContextImplX11,              \
                gdk_gl_context_impl_x11,          \
                GDK_TYPE_GL_CONTEXT)
@@ -44,16 +41,6 @@ gdk_gl_context_impl_x11_init (GdkGLContextImplX11 *self)
 {
 }
 
-static void
-gdk_gl_context_impl_x11_class_init (GdkGLContextImplX11Class *klass)
-{
-  GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
-  GDK_GL_NOTE_FUNC_PRIVATE ();
-
-  object_class->finalize = gdk_gl_context_impl_x11_finalize;
-}
-
 void
 _gdk_gl_context_destroy (GdkGLContext *glcontext)
 {
@@ -121,6 +108,16 @@ gdk_gl_context_impl_x11_finalize (GObject *object)
   G_OBJECT_CLASS (gdk_gl_context_impl_x11_parent_class)->finalize (object);
 }
 
+static void
+gdk_gl_context_impl_x11_class_init (GdkGLContextImplX11Class *klass)
+{
+  GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+  GDK_GL_NOTE_FUNC_PRIVATE ();
+
+  object_class->finalize = gdk_gl_context_impl_x11_finalize;
+}
+
 static GdkGLContext *
 gdk_gl_context_new_common (GdkGLConfig   *glconfig,
                            GdkGLContext  *share_list,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]