[gtk+/rendering-cleanup: 57/95] x11: Remove unused code
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 57/95] x11: Remove unused code
- Date: Sat, 7 Aug 2010 00:43:27 +0000 (UTC)
commit 122181bb2bcdf6a19d89c285757a3378fb025cc7
Author: Benjamin Otte <otte redhat com>
Date: Thu Jul 22 02:23:54 2010 +0200
x11: Remove unused code
These are function definitions and leftover variabl;es that weren't in
use for a while.
gdk/x11/gdkprivate-x11.h | 3 ---
gdk/x11/gdkscreen-x11.c | 3 ---
gdk/x11/gdkscreen-x11.h | 3 ---
3 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gdk/x11/gdkprivate-x11.h b/gdk/x11/gdkprivate-x11.h
index 236164f..f9c205b 100644
--- a/gdk/x11/gdkprivate-x11.h
+++ b/gdk/x11/gdkprivate-x11.h
@@ -173,9 +173,6 @@ void _gdk_windowing_window_init (GdkScreen *screen);
void _gdk_visual_init (GdkScreen *screen);
void _gdk_dnd_init (GdkDisplay *display);
-PangoRenderer *_gdk_x11_renderer_get (GdkDrawable *drawable,
- GdkGC *gc);
-
void _gdk_x11_cursor_update_theme (GdkCursor *cursor);
void _gdk_x11_cursor_display_finalize (GdkDisplay *display);
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index 8aac075..7c20a0e 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -339,9 +339,6 @@ gdk_screen_x11_finalize (GObject *object)
if (screen_x11->root_window)
g_object_unref (screen_x11->root_window);
- if (screen_x11->renderer)
- g_object_unref (screen_x11->renderer);
-
/* Visual Part */
for (i = 0; i < screen_x11->nvisuals; i++)
g_object_unref (screen_x11->visuals[i]);
diff --git a/gdk/x11/gdkscreen-x11.h b/gdk/x11/gdkscreen-x11.h
index 3efee6a..c066f9f 100644
--- a/gdk/x11/gdkscreen-x11.h
+++ b/gdk/x11/gdkscreen-x11.h
@@ -95,9 +95,6 @@ struct _GdkScreenX11
GdkX11Monitor *monitors;
gint primary_monitor;
- /* Pango renderer object singleton */
- PangoRenderer *renderer;
-
/* Xft resources for the display, used for default values for
* the Xft/ XSETTINGS
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]