diff options
author | Tim Janik <timj@gtk.org> | 2007-06-27 11:28:55 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2007-06-27 11:28:55 +0000 |
commit | 286567a7242064c702006c7daf47ccde8ed8661a (patch) | |
tree | 77c441217d5db05bbedc4ff9567accdfef238a0e | |
parent | c7e4f38dbbe81d70eb786dc6d68faf10049c9f70 (diff) | |
download | gtk+-286567a7242064c702006c7daf47ccde8ed8661a.tar.gz |
applied patch to improve variable names, by Olivier Delhomme, #451527.
Wed Jun 27 13:27:21 2007 Tim Janik <timj@gtk.org>
* gtk/gtkradiobutton.[hc]: applied patch to improve variable names,
by Olivier Delhomme, #451527.
svn path=/trunk/; revision=18259
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gtk/gtkradiobutton.c | 20 | ||||
-rw-r--r-- | gtk/gtkradiobutton.h | 6 |
3 files changed, 18 insertions, 13 deletions
@@ -1,3 +1,8 @@ +Wed Jun 27 13:27:21 2007 Tim Janik <timj@gtk.org> + + * gtk/gtkradiobutton.[hc]: applied patch to improve variable names, + by Olivier Delhomme, #451527. + Wed Jun 27 11:57:41 2007 Tim Janik <timj@imendio.com> * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed push_in description. diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index b4de838f49..6d5d09a4af 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -301,28 +301,28 @@ gtk_radio_button_new_with_mnemonic (GSList *group, } GtkWidget* -gtk_radio_button_new_from_widget (GtkRadioButton *group) +gtk_radio_button_new_from_widget (GtkRadioButton *radio_group_member) { GSList *l = NULL; - if (group) - l = gtk_radio_button_get_group (group); + if (radio_group_member) + l = gtk_radio_button_get_group (radio_group_member); return gtk_radio_button_new (l); } GtkWidget* -gtk_radio_button_new_with_label_from_widget (GtkRadioButton *group, +gtk_radio_button_new_with_label_from_widget (GtkRadioButton *radio_group_member, const gchar *label) { GSList *l = NULL; - if (group) - l = gtk_radio_button_get_group (group); + if (radio_group_member) + l = gtk_radio_button_get_group (radio_group_member); return gtk_radio_button_new_with_label (l, label); } /** * gtk_radio_button_new_with_mnemonic_from_widget: - * @group: widget to get radio group from + * @radio_group_member: widget to get radio group from or %NULL * @label: the text of the button, with an underscore in front of the * mnemonic character * @returns: a new #GtkRadioButton @@ -332,12 +332,12 @@ gtk_radio_button_new_with_label_from_widget (GtkRadioButton *group, * in @label indicate the mnemonic for the button. **/ GtkWidget* -gtk_radio_button_new_with_mnemonic_from_widget (GtkRadioButton *group, +gtk_radio_button_new_with_mnemonic_from_widget (GtkRadioButton *radio_group_member, const gchar *label) { GSList *l = NULL; - if (group) - l = gtk_radio_button_get_group (group); + if (radio_group_member) + l = gtk_radio_button_get_group (radio_group_member); return gtk_radio_button_new_with_mnemonic (l, label); } diff --git a/gtk/gtkradiobutton.h b/gtk/gtkradiobutton.h index 6f7ce3a1ef..0d885e63aa 100644 --- a/gtk/gtkradiobutton.h +++ b/gtk/gtkradiobutton.h @@ -69,14 +69,14 @@ struct _GtkRadioButtonClass GType gtk_radio_button_get_type (void) G_GNUC_CONST; GtkWidget* gtk_radio_button_new (GSList *group); -GtkWidget* gtk_radio_button_new_from_widget (GtkRadioButton *group); +GtkWidget* gtk_radio_button_new_from_widget (GtkRadioButton *radio_group_member); GtkWidget* gtk_radio_button_new_with_label (GSList *group, const gchar *label); -GtkWidget* gtk_radio_button_new_with_label_from_widget (GtkRadioButton *group, +GtkWidget* gtk_radio_button_new_with_label_from_widget (GtkRadioButton *radio_group_member, const gchar *label); GtkWidget* gtk_radio_button_new_with_mnemonic (GSList *group, const gchar *label); -GtkWidget* gtk_radio_button_new_with_mnemonic_from_widget (GtkRadioButton *group, +GtkWidget* gtk_radio_button_new_with_mnemonic_from_widget (GtkRadioButton *radio_group_member, const gchar *label); GSList* gtk_radio_button_get_group (GtkRadioButton *radio_button); void gtk_radio_button_set_group (GtkRadioButton *radio_button, |