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=ZtkP2Zu5CJw/u5H67wV67ouriPNsZPZ6VdWIUEoSEXrJnS5FgOOHeZiZcy27yZ28g9 OMKYMD2DfYRwMTmkzub2XDzWGyPp5TGpTK9e8rmEmiIfGd1phuOPGDxwqz/yVdmx9nCw H9XtowHn6v9F1Ou67VLx1NS5qi7UAKdx0swVmQFoeTRcLIkS3ARqXAUvLOjTja0qOQe8 GKAw66IDrbG9W1g5J+LjR1eDT4L7ZDQS+FB3zR4zg/LKrxvc0aejUpcHQmRGg5R5caO/ 94tO08uJ08Sb6dSN7baziquc/p9c/Wda4coUVBTveovccrGip/UxMCwP9buJU0wsMlfZ qcRA== X-Received: by 10.194.94.196 with SMTP id de4mr4234334wjb.86.1411038424790; Thu, 18 Sep 2014 04:07:04 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: Riccardo Lucchese Subject: [geda-user] [PATCH 06/43] Remove deprecated use of gtk_radio_button_group() Date: Thu, 18 Sep 2014 13:06:01 +0200 Message-Id: <1411038398-10231-7-git-send-email-riccardo.lucchese@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1411038398-10231-1-git-send-email-riccardo.lucchese@gmail.com> References: <1411038398-10231-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 Precedence: bulk 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