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

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=LxWql5pukgD8OFc93tbG1lrmHhgWyAWFrCO/t5+KUSU=;
b=RPr5u6pycWfuBLFUwOhlyvH8ZaLyXQ/79r7fNOTL4PFOnI0QiPBN0Vy08WBcXzfB3V
Ak8SFo1+9igN2c6c19PS2GB8kyWifjWpv9UeIZI3GO8f86jvtreLfG/+t3WLy6ruUgLm
JAwOrsygkggOdJaLhIGWKsQ6PK8p/0C4Z9VqzvfrV1BcFkoeFx4ASO1nHwIV2RBZZLEQ
zAn5QGF/nMDUckxzf1I+C/FHJJbiht0kDKL38nx9/SB4miJPtGZh6zeZSIE7r2GCf753
Ap9yKG3y7FV9vSf881oWQaSRpDl57ZgrgmGTy8UI6ybcdNAg+2DqjeOfVzcpjafGqPYb
K+qQ==
X-Received: by 10.180.19.35 with SMTP id b3mr7650507wie.10.1413317979672;
Tue, 14 Oct 2014 13:19:39 -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 42/43] Remove deprecated use of gtk_type_is_a()
Date: Tue, 14 Oct 2014 22:17:34 +0200
Message-Id: <1413317855-10673-43-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_type_is_a is deprecated
and should not be used in newly-written code." Use g_type_is_a
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 32734d5..d412170 100644
--- a/gattrib/src/gtksheet_2_2.c
+++ b/gattrib/src/gtksheet_2_2.c
@@ -6157,7 +6157,7 @@ create_sheet_entry(GtkSheet *sheet)
 
  if(sheet->entry_type){
 
-   if(!gtk_type_is_a (sheet->entry_type, GTK_TYPE_ENTRY)){
+   if(!g_type_is_a(sheet->entry_type, GTK_TYPE_ENTRY)){
 
      parent = GTK_WIDGET(gtk_type_new(sheet->entry_type));
 
-- 
2.1.0

- Raw text -


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