[gedit] Remove deprecated gtk_rc_style_unref
- From: Paolo Borelli <pborelli src gnome org>
 
- To: svn-commits-list gnome org
 
- Cc: 
 
- Subject: [gedit] Remove deprecated gtk_rc_style_unref
 
- Date: Tue,  5 Jan 2010 13:17:51 +0000 (UTC)
 
commit 5e348935f97ac5f2bd1337f1113d5e6488eabbc3
Author: Paolo Borelli <pborelli gnome org>
Date:   Tue Jan 5 14:15:43 2010 +0100
    Remove deprecated gtk_rc_style_unref
 gedit/gedit-panel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-panel.c b/gedit/gedit-panel.c
index c4f2a5e..78c8633 100644
--- a/gedit/gedit-panel.c
+++ b/gedit/gedit-panel.c
@@ -426,7 +426,7 @@ create_small_button (GtkWidget *image)
 {
 	GtkWidget *button;
 	GtkRcStyle *rcstyle;
-	
+
 	button = gtk_button_new ();
 	gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
 
@@ -437,7 +437,7 @@ create_small_button (GtkWidget *image)
 	rcstyle = gtk_rc_style_new ();
 	rcstyle->xthickness = rcstyle->ythickness = 0;
 	gtk_widget_modify_style (button, rcstyle);
-	gtk_rc_style_unref (rcstyle);
+	g_object_unref (rcstyle);
 
 	gtk_widget_show (image);
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]