summaryrefslogtreecommitdiff
path: root/gtk/gtktextdisplay.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2005-06-11 02:06:56 +0000
committerManish Singh <yosh@src.gnome.org>2005-06-11 02:06:56 +0000
commit5a01db227ee1b45dd9b438ad876c144fe2da5a56 (patch)
treea82ddbd78920c6e3bf1258cea4b1fd21dbee24f0 /gtk/gtktextdisplay.c
parent43f263a03166e9219c0ec07fadfef9f880811968 (diff)
downloadgdk-pixbuf-5a01db227ee1b45dd9b438ad876c144fe2da5a56.tar.gz
don't use deprecated gdk_gc_unref function.
Fri Jun 10 19:06:03 2005 Manish Singh <yosh@gimp.org> * gtk/gtktextdisplay.c (render_para): don't use deprecated gdk_gc_unref function.
Diffstat (limited to 'gtk/gtktextdisplay.c')
-rw-r--r--gtk/gtktextdisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c
index 6c0f6c063..4cb52c63f 100644
--- a/gtk/gtktextdisplay.c
+++ b/gtk/gtktextdisplay.c
@@ -548,7 +548,7 @@ render_para (GtkTextRenderer *text_renderer,
screen_width,
selection_height);
- gdk_gc_unref (bg_gc);
+ g_object_unref (bg_gc);
}
text_renderer_set_selected (text_renderer, FALSE);