[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:17:26 +0000 (UTC)
commit 1d16873538ddf9f8f8071f55687660ba4ae90541
Author: Mukund Sivaraman <muks banu com>
Date: Tue Jul 20 21:46:49 2010 +0530
Remove redundant protos
gdk/win32/gdkglpixmap-win32.c | 22 ++++++++++------------
1 files changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/gdk/win32/gdkglpixmap-win32.c b/gdk/win32/gdkglpixmap-win32.c
index 6d1be75..36e53dc 100644
--- a/gdk/win32/gdkglpixmap-win32.c
+++ b/gdk/win32/gdkglpixmap-win32.c
@@ -42,8 +42,6 @@ static gboolean gdk_gl_pixmap_impl_win32_gl_begin (GdkGLDrawable
static void gdk_gl_pixmap_impl_win32_gl_end (GdkGLDrawable *gldrawable);
static GdkGLConfig *gdk_gl_pixmap_impl_win32_get_gl_config (GdkGLDrawable *gldrawable);
-static void gdk_gl_pixmap_impl_win32_class_init (GdkGLPixmapImplWin32Class *klass);
-static void gdk_gl_pixmap_impl_win32_finalize (GObject *object);
static void gdk_gl_pixmap_impl_win32_gl_drawable_interface_init (GdkGLDrawableClass *iface);
G_DEFINE_TYPE_EXTENDED (GdkGLPixmapImplWin32,
@@ -59,16 +57,6 @@ gdk_gl_pixmap_impl_win32_init (GdkGLPixmapImplWin32 *self)
{
}
-static void
-gdk_gl_pixmap_impl_win32_class_init (GdkGLPixmapImplWin32Class *klass)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
- GDK_GL_NOTE_FUNC_PRIVATE ();
-
- object_class->finalize = gdk_gl_pixmap_impl_win32_finalize;
-}
-
void
_gdk_gl_pixmap_destroy (GdkGLPixmap *glpixmap)
{
@@ -114,6 +102,16 @@ gdk_gl_pixmap_impl_win32_finalize (GObject *object)
}
static void
+gdk_gl_pixmap_impl_win32_class_init (GdkGLPixmapImplWin32Class *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ GDK_GL_NOTE_FUNC_PRIVATE ();
+
+ object_class->finalize = gdk_gl_pixmap_impl_win32_finalize;
+}
+
+static void
gdk_gl_pixmap_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]