[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 13:36:11 +0000 (UTC)
commit ce8093766dc8a73a89fb55bc469a68a94d125283
Author: Mukund Sivaraman <muks banu com>
Date: Tue Jul 20 19:05:53 2010 +0530
Remove redundant protos
gdk/win32/gdkglcontext-win32.c | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
---
diff --git a/gdk/win32/gdkglcontext-win32.c b/gdk/win32/gdkglcontext-win32.c
index 7cf03c6..afd0f37 100644
--- a/gdk/win32/gdkglcontext-win32.c
+++ b/gdk/win32/gdkglcontext-win32.c
@@ -29,9 +29,6 @@ static void gdk_gl_context_insert (GdkGLContext *glcontext);
static void gdk_gl_context_remove (GdkGLContext *glcontext);
static GdkGLContext *gdk_gl_context_lookup (HGLRC hglrc);
-static void gdk_gl_context_impl_win32_class_init (GdkGLContextImplWin32Class *klass);
-static void gdk_gl_context_impl_win32_finalize (GObject *object);
-
G_DEFINE_TYPE (GdkGLContextImplWin32, \
gdk_gl_context_impl_win32, \
GDK_TYPE_GL_CONTEXT)
@@ -41,16 +38,6 @@ gdk_gl_context_impl_win32_init (GdkGLContextImplWin32 *self)
{
}
-static void
-gdk_gl_context_impl_win32_class_init (GdkGLContextImplWin32Class *klass)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
- GDK_GL_NOTE_FUNC_PRIVATE ();
-
- object_class->finalize = gdk_gl_context_impl_win32_finalize;
-}
-
void
_gdk_gl_context_destroy (GdkGLContext *glcontext)
{
@@ -115,6 +102,16 @@ gdk_gl_context_impl_win32_finalize (GObject *object)
G_OBJECT_CLASS (gdk_gl_context_impl_win32_parent_class)->finalize (object);
}
+static void
+gdk_gl_context_impl_win32_class_init (GdkGLContextImplWin32Class *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ GDK_GL_NOTE_FUNC_PRIVATE ();
+
+ object_class->finalize = gdk_gl_context_impl_win32_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]