From 5a01db227ee1b45dd9b438ad876c144fe2da5a56 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sat, 11 Jun 2005 02:06:56 +0000 Subject: [PATCH] don't use deprecated gdk_gc_unref function. Fri Jun 10 19:06:03 2005 Manish Singh * gtk/gtktextdisplay.c (render_para): don't use deprecated gdk_gc_unref function. --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktextdisplay.c | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1bbe4634fd..d51fc42033 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jun 10 19:06:03 2005 Manish Singh + + * gtk/gtktextdisplay.c (render_para): don't use deprecated + gdk_gc_unref function. + 2005-06-10 Matthias Clasen Allow setting paragraph background. (#81045, Gustavo diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1bbe4634fd..d51fc42033 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Fri Jun 10 19:06:03 2005 Manish Singh + + * gtk/gtktextdisplay.c (render_para): don't use deprecated + gdk_gc_unref function. + 2005-06-10 Matthias Clasen Allow setting paragraph background. (#81045, Gustavo diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1bbe4634fd..d51fc42033 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Fri Jun 10 19:06:03 2005 Manish Singh + + * gtk/gtktextdisplay.c (render_para): don't use deprecated + gdk_gc_unref function. + 2005-06-10 Matthias Clasen Allow setting paragraph background. (#81045, Gustavo diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c index 6c0f6c0634..4cb52c63fd 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);