[gtkglext] Remove redundant protos



commit e59d283b1abb165b3e6cbb9f56b4e0d1da29a614
Author: Mukund Sivaraman <muks banu com>
Date:   Tue Jul 20 20:49:25 2010 +0530

    Remove redundant protos

 gdk/gdkglpixmap.c |   30 ++++++++++++++----------------
 1 files changed, 14 insertions(+), 16 deletions(-)
---
diff --git a/gdk/gdkglpixmap.c b/gdk/gdkglpixmap.c
index 09f8984..6de74a1 100644
--- a/gdk/gdkglpixmap.c
+++ b/gdk/gdkglpixmap.c
@@ -172,8 +172,6 @@ static void             gdk_gl_pixmap_draw_drawable_with_src  (GdkDrawable
                                                                gint              width,
                                                                gint              height,
                                                                GdkDrawable      *original_src);
-static void             gdk_gl_pixmap_class_init              (GdkGLPixmapClass *klass);
-static void             gdk_gl_pixmap_finalize                (GObject          *object);
 
 G_DEFINE_TYPE (GdkGLPixmap,                     \
                gdk_gl_pixmap,                   \
@@ -185,6 +183,20 @@ gdk_gl_pixmap_init (GdkGLPixmap *self)
 }
 
 static void
+gdk_gl_pixmap_finalize (GObject *object)
+{
+  GdkGLPixmap *glpixmap = GDK_GL_PIXMAP (object);
+
+  GDK_GL_NOTE_FUNC_PRIVATE ();
+
+  if (glpixmap->drawable != NULL)
+    g_object_remove_weak_pointer (G_OBJECT (glpixmap->drawable),
+                                  (gpointer *) &(glpixmap->drawable));
+
+  G_OBJECT_CLASS (gdk_gl_pixmap_parent_class)->finalize (object);
+}
+
+static void
 gdk_gl_pixmap_class_init (GdkGLPixmapClass *klass)
 {
   GObjectClass *object_class = G_OBJECT_CLASS (klass);
@@ -227,20 +239,6 @@ gdk_gl_pixmap_class_init (GdkGLPixmapClass *klass)
   drawable_class->draw_drawable_with_src = gdk_gl_pixmap_draw_drawable_with_src;
 }
 
-static void
-gdk_gl_pixmap_finalize (GObject *object)
-{
-  GdkGLPixmap *glpixmap = GDK_GL_PIXMAP (object);
-
-  GDK_GL_NOTE_FUNC_PRIVATE ();
-
-  if (glpixmap->drawable != NULL)
-    g_object_remove_weak_pointer (G_OBJECT (glpixmap->drawable),
-                                  (gpointer *) &(glpixmap->drawable));
-
-  G_OBJECT_CLASS (gdk_gl_pixmap_parent_class)->finalize (object);
-}
-
 static GdkGC *
 gdk_gl_pixmap_create_gc (GdkDrawable    *drawable,
                          GdkGCValues    *values,



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