[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 16:08:43 +0000 (UTC)
commit 4c397aa32cea4b12535ea95dd3fb74ca23e60e09
Author: Mukund Sivaraman <muks banu com>
Date: Tue Jul 20 21:38:24 2010 +0530
Remove redundant protos
gdk/x11/gdkglwindow-x11.c | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/gdk/x11/gdkglwindow-x11.c b/gdk/x11/gdkglwindow-x11.c
index 14a8bcc..fbf0362 100644
--- a/gdk/x11/gdkglwindow-x11.c
+++ b/gdk/x11/gdkglwindow-x11.c
@@ -43,9 +43,7 @@ static gboolean gdk_gl_window_impl_x11_gl_begin (GdkGLDrawable *
static void gdk_gl_window_impl_x11_gl_end (GdkGLDrawable *gldrawable);
static GdkGLConfig *gdk_gl_window_impl_x11_get_gl_config (GdkGLDrawable *gldrawable);
-static void gdk_gl_window_impl_x11_class_init (GdkGLWindowImplX11Class *klass);
-static void gdk_gl_window_impl_x11_finalize (GObject *object);
-static void gdk_gl_window_impl_x11_gl_drawable_interface_init (GdkGLDrawableClass *iface);
+static void gdk_gl_window_impl_x11_gl_drawable_interface_init (GdkGLDrawableClass *iface);
G_DEFINE_TYPE_EXTENDED (GdkGLWindowImplX11,
gdk_gl_window_impl_x11,
@@ -60,16 +58,6 @@ gdk_gl_window_impl_x11_init (GdkGLWindowImplX11 *self)
{
}
-static void
-gdk_gl_window_impl_x11_class_init (GdkGLWindowImplX11Class *klass)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
- GDK_GL_NOTE_FUNC_PRIVATE ();
-
- object_class->finalize = gdk_gl_window_impl_x11_finalize;
-}
-
void
_gdk_gl_window_destroy (GdkGLWindow *glwindow)
{
@@ -120,6 +108,16 @@ gdk_gl_window_impl_x11_finalize (GObject *object)
}
static void
+gdk_gl_window_impl_x11_class_init (GdkGLWindowImplX11Class *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ GDK_GL_NOTE_FUNC_PRIVATE ();
+
+ object_class->finalize = gdk_gl_window_impl_x11_finalize;
+}
+
+static void
gdk_gl_window_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]