[gtkglext] Remove redundant protos
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkglext] Remove redundant protos
- Date: Tue, 20 Jul 2010 15:40:49 +0000 (UTC)
commit 66ac6ae76a2adf15ac4408f790a281369cf3a4c0
Author: Mukund Sivaraman <muks banu com>
Date: Tue Jul 20 21:08:04 2010 +0530
Remove redundant protos
gdk/x11/gdkglpixmap-x11.c | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/gdk/x11/gdkglpixmap-x11.c b/gdk/x11/gdkglpixmap-x11.c
index 38df279..0f5af48 100644
--- a/gdk/x11/gdkglpixmap-x11.c
+++ b/gdk/x11/gdkglpixmap-x11.c
@@ -41,9 +41,7 @@ static gboolean gdk_gl_pixmap_impl_x11_gl_begin (GdkGLDrawable *
static void gdk_gl_pixmap_impl_x11_gl_end (GdkGLDrawable *gldrawable);
static GdkGLConfig *gdk_gl_pixmap_impl_x11_get_gl_config (GdkGLDrawable *gldrawable);
-static void gdk_gl_pixmap_impl_x11_class_init (GdkGLPixmapImplX11Class *klass);
-static void gdk_gl_pixmap_impl_x11_finalize (GObject *object);
-static void gdk_gl_pixmap_impl_x11_gl_drawable_interface_init (GdkGLDrawableClass *iface);
+static void gdk_gl_pixmap_impl_x11_gl_drawable_interface_init (GdkGLDrawableClass *iface);
G_DEFINE_TYPE_EXTENDED (GdkGLPixmapImplX11,
gdk_gl_pixmap_impl_x11,
@@ -58,16 +56,6 @@ gdk_gl_pixmap_impl_x11_init (GdkGLPixmapImplX11 *self)
{
}
-static void
-gdk_gl_pixmap_impl_x11_class_init (GdkGLPixmapImplX11Class *klass)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
- GDK_GL_NOTE_FUNC_PRIVATE ();
-
- object_class->finalize = gdk_gl_pixmap_impl_x11_finalize;
-}
-
void
_gdk_gl_pixmap_destroy (GdkGLPixmap *glpixmap)
{
@@ -112,6 +100,16 @@ gdk_gl_pixmap_impl_x11_finalize (GObject *object)
}
static void
+gdk_gl_pixmap_impl_x11_class_init (GdkGLPixmapImplX11Class *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ GDK_GL_NOTE_FUNC_PRIVATE ();
+
+ object_class->finalize = gdk_gl_pixmap_impl_x11_finalize;
+}
+
+static void
gdk_gl_pixmap_impl_x11_gl_drawable_interface_init (GdkGLDrawableClass *iface)
{
GDK_GL_NOTE_FUNC_PRIVATE ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]