Commit 286567a7 authored by Tim Janik's avatar Tim Janik Committed by Tim Janik

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
parent c7e4f38d
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.
......
......@@ -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);
}
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment