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

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=hlhB7o2FyYtda/9Kuy1TJVEjmu7yctpdjZAp1u/QDCM=;
b=YNBGjkp04bzCIaBSotslMIl755cDcmdbpDu3GJN4Cm1kyyypPhABN9mvvpGUFVEb5e
FByXWxpmZkT20wqGg6OjNyr487NJgQvVukoaAoY29qBpKUDhWW2pmQTTDS1bVAqrMIzq
Cwd64cxTJA+vkylEoCq4XhAZvHmLPgpi6jipJjskfxoA04KOyCiGCw5bkGRuLMxeopwl
SYwRuptdLzM6BG9YSfBWfaG35oFMxnVyjv5xRPZLPnKGQoAiKX4Ne0xcDNnkWRM47Tje
2LDqQk5/vf83GP6iQV3HDjRVATjxk6SMSwxheiYTAPGgW5M8Pcni5xf2BOFdsywG20kW
nJsA==
X-Received: by 10.194.236.232 with SMTP id ux8mr5402788wjc.96.1413317961931;
Tue, 14 Oct 2014 13:19:21 -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 37/43] Remove deprecated use of GTK_SIGNAL_FUNC()
Date: Tue, 14 Oct 2014 22:17:29 +0200
Message-Id: <1413317855-10673-38-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_SIGNAL_FUNC is deprecated
and should not be used in newly-written code." Use G_CALLBACK instead.
---
 gattrib/src/x_window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gattrib/src/x_window.c b/gattrib/src/x_window.c
index 8f3d00a..b94cf3e 100644
--- a/gattrib/src/x_window.c
+++ b/gattrib/src/x_window.c
@@ -94,7 +94,7 @@ x_window_init()
   gtk_window_set_default_size(GTK_WINDOW(window), 750, 600);  
   
   g_signal_connect(window, "delete_event",
-                   GTK_SIGNAL_FUNC(gattrib_really_quit), 0);
+                   G_CALLBACK(gattrib_really_quit), 0);
 
   /* -----  Now create main_vbox.  This is a container which organizes child  ----- */  
   /* -----  widgets into a vertical column.  ----- */  
-- 
2.1.0

- Raw text -


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