[gtkglext] Remove gdk_gl_window_destroy()
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkglext] Remove gdk_gl_window_destroy()
- Date: Mon, 19 Jul 2010 10:23:57 +0000 (UTC)
commit b8e87347f5e8524873de6a052ffa7ef4342c83d5
Author: Mukund Sivaraman <muks banu com>
Date: Mon Jul 19 15:53:47 2010 +0530
Remove gdk_gl_window_destroy()
Use g_object_unref() to free the object instead.
docs/reference/gtkglext/gtkglext-sections.txt | 1 -
gdk/gdkglext.def | 1 -
gdk/gdkglwindow.c | 16 ----------------
gdk/gdkglwindow.h | 2 --
4 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/docs/reference/gtkglext/gtkglext-sections.txt b/docs/reference/gtkglext/gtkglext-sections.txt
index beec6f9..ed1e57b 100644
--- a/docs/reference/gtkglext/gtkglext-sections.txt
+++ b/docs/reference/gtkglext/gtkglext-sections.txt
@@ -162,7 +162,6 @@ gdk_gl_pixmap_get_type
<FILE>gdkglwindow</FILE>
GdkGLWindow
gdk_gl_window_new
-gdk_gl_window_destroy
gdk_gl_window_get_window
gdk_window_set_gl_capability
gdk_window_unset_gl_capability
diff --git a/gdk/gdkglext.def b/gdk/gdkglext.def
index 8683735..16a037f 100644
--- a/gdk/gdkglext.def
+++ b/gdk/gdkglext.def
@@ -1319,7 +1319,6 @@ EXPORTS
gdk_gl_render_type_mask_get_type
gdk_gl_transparent_type_get_type
gdk_gl_visual_type_get_type
- gdk_gl_window_destroy
gdk_gl_window_get_type
gdk_gl_window_get_window
gdk_gl_window_new
diff --git a/gdk/gdkglwindow.c b/gdk/gdkglwindow.c
index 6488b6b..e31cc8d 100644
--- a/gdk/gdkglwindow.c
+++ b/gdk/gdkglwindow.c
@@ -757,22 +757,6 @@ _gdk_gl_window_get_size (GdkGLDrawable *gldrawable,
}
/**
- * gdk_gl_window_destroy:
- * @glwindow: a #GdkGLWindow.
- *
- * Destroys the OpenGL resources associated with @glwindow and
- * decrements @glwindow's reference count.
- **/
-void
-gdk_gl_window_destroy (GdkGLWindow *glwindow)
-{
- g_return_if_fail (GDK_IS_GL_WINDOW (glwindow));
-
- _gdk_gl_window_destroy (glwindow);
- g_object_unref (G_OBJECT (glwindow));
-}
-
-/**
* gdk_gl_window_get_window:
* @glwindow: a #GdkGLWindow.
*
diff --git a/gdk/gdkglwindow.h b/gdk/gdkglwindow.h
index aeda2bc..d6af4e2 100644
--- a/gdk/gdkglwindow.h
+++ b/gdk/gdkglwindow.h
@@ -57,8 +57,6 @@ GdkGLWindow *gdk_gl_window_new (GdkGLConfig *glconfig,
GdkWindow *window,
const int *attrib_list);
-void gdk_gl_window_destroy (GdkGLWindow *glwindow);
-
GdkWindow *gdk_gl_window_get_window (GdkGLWindow *glwindow);
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]