delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/10/14/16:18:50

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=from:to:cc:subject:date:message-id:in-reply-to:references;
bh=GpDWnPROnKV/3kgxIo3hxvUUlzG82C0r5KocYyq7HGU=;
b=VFy3tbNAWneN5MoqGRZqW/w1NvQtAeyJh5PfozdBDj8Jo7JLFxgDODddAGRKcaOAYV
RTNktXxYLWj/TQVBVLViy8L1XrgvKG35iijV9wOfoOOIiRqKEYRqPAqcrjpCTisVMPww
+QtuSW7oUKr4Y0t9d6FKdihNSRqBuuG0JEuxZaE8cK93XWIixr1OXEO2XktyEMjPfNJu
jf574CZ7LUT+gX9UHVd/HZD+nCykIRnY95u2tGNjB/CO0fTPSsjKZrECxw+JNsOTrHWZ
bBjOwhoCxLMhW2HrkVNX2VKRqn1vaZ4O65bHhXxkiwVcaeQnB4QrSyARj/QpH7/Zqee1
oN6Q==
X-Received: by 10.194.239.164 with SMTP id vt4mr4560140wjc.131.1413317922097;
Tue, 14 Oct 2014 13:18:42 -0700 (PDT)
From: Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com>
To: geda-user AT delorie DOT com
Cc: paubert AT iram DOT es, Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com>
Subject: [geda-user] [PATCH V2 23/43] Remove deprecated use of gtk_style_unref()
Date: Tue, 14 Oct 2014 22:17:15 +0200
Message-Id: <1413317855-10673-24-git-send-email-riccardo.lucchese@gmail.com>
X-Mailer: git-send-email 2.1.0
In-Reply-To: <1413317855-10673-1-git-send-email-riccardo.lucchese@gmail.com>
References: <1413317855-10673-1-git-send-email-riccardo DOT lucchese AT gmail DOT com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Verbatim from Gtk+ 2 Reference Manual: "gtk_style_unref has been
deprecated since version 2.0 and should not be used in newly-written
code. use g_object_unref() instead."
---
 gattrib/src/gtksheet_2_2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gattrib/src/gtksheet_2_2.c b/gattrib/src/gtksheet_2_2.c
index 6e31514..5bac8a5 100644
--- a/gattrib/src/gtksheet_2_2.c
+++ b/gattrib/src/gtksheet_2_2.c
@@ -6152,7 +6152,7 @@ gtk_sheet_size_allocate_entry(GtkSheet *sheet)
 
  gtk_widget_size_allocate(sheet->sheet_entry, &shentry_allocation);
 
- if(previous_style == style) gtk_style_unref(previous_style);
+ if(previous_style == style) g_object_unref(previous_style);
 }
 
 
-- 
2.1.0

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019