[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 17:39:05 +0000 (UTC)
commit 046305ea0e5ba2aaba7d89defb3872cd8369233a
Author: Mukund Sivaraman <muks banu com>
Date: Tue Jul 20 23:07:00 2010 +0530
Remove redundant protos
gdk/win32/gdkglwindow-win32.c | 24 +++++++++++-------------
1 files changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/gdk/win32/gdkglwindow-win32.c b/gdk/win32/gdkglwindow-win32.c
index aa0179d..afd1395 100644
--- a/gdk/win32/gdkglwindow-win32.c
+++ b/gdk/win32/gdkglwindow-win32.c
@@ -41,9 +41,7 @@ static gboolean gdk_gl_window_impl_win32_gl_begin (GdkGLDrawable
static void gdk_gl_window_impl_win32_gl_end (GdkGLDrawable *gldrawable);
static GdkGLConfig *gdk_gl_window_impl_win32_get_gl_config (GdkGLDrawable *gldrawable);
-static void gdk_gl_window_impl_win32_class_init (GdkGLWindowImplWin32Class *klass);
-static void gdk_gl_window_impl_win32_finalize (GObject *object);
-static void gdk_gl_window_impl_win32_gl_drawable_interface_init (GdkGLDrawableClass *iface);
+static void gdk_gl_window_impl_win32_gl_drawable_interface_init (GdkGLDrawableClass *iface);
G_DEFINE_TYPE_EXTENDED (GdkGLWindowImplWin32,
gdk_gl_window_impl_win32,
@@ -58,16 +56,6 @@ gdk_gl_window_impl_win32_init (GdkGLWindowImplWin32 *self)
{
}
-static void
-gdk_gl_window_impl_win32_class_init (GdkGLWindowImplWin32Class *klass)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
- GDK_GL_NOTE_FUNC_PRIVATE ();
-
- object_class->finalize = gdk_gl_window_impl_win32_finalize;
-}
-
void
_gdk_gl_window_destroy (GdkGLWindow *glwindow)
{
@@ -119,6 +107,16 @@ gdk_gl_window_impl_win32_finalize (GObject *object)
}
static void
+gdk_gl_window_impl_win32_class_init (GdkGLWindowImplWin32Class *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ GDK_GL_NOTE_FUNC_PRIVATE ();
+
+ object_class->finalize = gdk_gl_window_impl_win32_finalize;
+}
+
+static void
gdk_gl_window_impl_win32_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]