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

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=D+Z1uoO+sGBiOIQNI0uSOIEC2sjueo5npFpKyAs9tko=;
b=HkhjgarY8o1D0hLx234aRnPWCSxNYaX2ht1fZnvEiw+Ih/0OaYaLqO6dzqvH684HcM
LUN7jWoDQQNEX1K3Hou4/8AAWPcGue0IOJw8FY6+w4hJciUT1CCCNoSkvxFhWiAw3LbO
g6kIpuV3+FnfdUYoX9qK7Rn/m2rZPEdW0VR3aTRSXdXcRfMHTt25p/riMHNaQD4eM1zA
MIkWFdUk//ie18zrTo05uek/mgg9Pd0ibC01bqhq6Nl5MjOUScu/2MxtiLymNdww9Jeo
Sna9U1LX8s7GR0Zdvy5FcMPgZUoGz7mz/l+tuisxQg6VHfIj0KYBPE/w+XHqLDrXiHl2
VXRw==
X-Received: by 10.180.104.7 with SMTP id ga7mr7739665wib.15.1413317877230;
Tue, 14 Oct 2014 13:17:57 -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 06/43] Remove deprecated use of gtk_radio_button_group()
Date: Tue, 14 Oct 2014 22:16:58 +0200
Message-Id: <1413317855-10673-7-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_radio_button_group is
deprecated and should not be used in newly-written code." Use
gtk_radio_button_get_group() instead.
---
 gschem/src/x_attribedit.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gschem/src/x_attribedit.c b/gschem/src/x_attribedit.c
index c744d5f..ef90e2a 100644
--- a/gschem/src/x_attribedit.c
+++ b/gschem/src/x_attribedit.c
@@ -450,7 +450,7 @@ void attrib_edit_dialog (GschemToplevel *w_current, OBJECT *attr_obj, int flag)
     gtk_container_add (GTK_CONTAINER (alignment), table);
 
     addtoallbutton = gtk_radio_button_new_with_label (hbox2_group, _("All"));
-    hbox2_group = gtk_radio_button_group (GTK_RADIO_BUTTON (addtoallbutton));
+    hbox2_group = gtk_radio_button_get_group(GTK_RADIO_BUTTON(addtoallbutton));
     gtk_widget_ref (addtoallbutton);
     gtk_object_set_data_full (GTK_OBJECT (aewindow), "addtoallbutton", addtoallbutton,
                               (GtkDestroyNotify) gtk_widget_unref);
@@ -458,7 +458,7 @@ void attrib_edit_dialog (GschemToplevel *w_current, OBJECT *attr_obj, int flag)
 		     (GtkAttachOptions) (GTK_FILL), 0, 0, 0);
 		     
     addtocompsbutton = gtk_radio_button_new_with_label (hbox2_group, _("Components"));
-    hbox2_group = gtk_radio_button_group (GTK_RADIO_BUTTON (addtocompsbutton));
+    hbox2_group = gtk_radio_button_get_group(GTK_RADIO_BUTTON(addtocompsbutton));
     gtk_widget_ref (addtocompsbutton);
     gtk_object_set_data_full (GTK_OBJECT (aewindow), "addtocompsbutton", addtocompsbutton,
                               (GtkDestroyNotify) gtk_widget_unref);
@@ -466,7 +466,7 @@ void attrib_edit_dialog (GschemToplevel *w_current, OBJECT *attr_obj, int flag)
 		     (GtkAttachOptions) (GTK_FILL), 0, 0, 0);
 
     addtonetsbutton = gtk_radio_button_new_with_label (hbox2_group, _("Nets"));
-    hbox2_group = gtk_radio_button_group (GTK_RADIO_BUTTON (addtonetsbutton));
+    hbox2_group = gtk_radio_button_get_group(GTK_RADIO_BUTTON(addtonetsbutton));
     gtk_widget_ref (addtonetsbutton);
     gtk_object_set_data_full (GTK_OBJECT (aewindow), "addtonetsbutton", addtonetsbutton,
                               (GtkDestroyNotify) gtk_widget_unref);
-- 
2.1.0

- Raw text -


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