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
This commit is contained in:
@ -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>
|
Wed Jun 27 11:57:41 2007 Tim Janik <timj@imendio.com>
|
||||||
|
|
||||||
* gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed push_in description.
|
* 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*
|
GtkWidget*
|
||||||
gtk_radio_button_new_from_widget (GtkRadioButton *group)
|
gtk_radio_button_new_from_widget (GtkRadioButton *radio_group_member)
|
||||||
{
|
{
|
||||||
GSList *l = NULL;
|
GSList *l = NULL;
|
||||||
if (group)
|
if (radio_group_member)
|
||||||
l = gtk_radio_button_get_group (group);
|
l = gtk_radio_button_get_group (radio_group_member);
|
||||||
return gtk_radio_button_new (l);
|
return gtk_radio_button_new (l);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
GtkWidget*
|
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)
|
const gchar *label)
|
||||||
{
|
{
|
||||||
GSList *l = NULL;
|
GSList *l = NULL;
|
||||||
if (group)
|
if (radio_group_member)
|
||||||
l = gtk_radio_button_get_group (group);
|
l = gtk_radio_button_get_group (radio_group_member);
|
||||||
return gtk_radio_button_new_with_label (l, label);
|
return gtk_radio_button_new_with_label (l, label);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* gtk_radio_button_new_with_mnemonic_from_widget:
|
* 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
|
* @label: the text of the button, with an underscore in front of the
|
||||||
* mnemonic character
|
* mnemonic character
|
||||||
* @returns: a new #GtkRadioButton
|
* @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.
|
* in @label indicate the mnemonic for the button.
|
||||||
**/
|
**/
|
||||||
GtkWidget*
|
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)
|
const gchar *label)
|
||||||
{
|
{
|
||||||
GSList *l = NULL;
|
GSList *l = NULL;
|
||||||
if (group)
|
if (radio_group_member)
|
||||||
l = gtk_radio_button_get_group (group);
|
l = gtk_radio_button_get_group (radio_group_member);
|
||||||
return gtk_radio_button_new_with_mnemonic (l, label);
|
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;
|
GType gtk_radio_button_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
GtkWidget* gtk_radio_button_new (GSList *group);
|
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,
|
GtkWidget* gtk_radio_button_new_with_label (GSList *group,
|
||||||
const gchar *label);
|
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);
|
const gchar *label);
|
||||||
GtkWidget* gtk_radio_button_new_with_mnemonic (GSList *group,
|
GtkWidget* gtk_radio_button_new_with_mnemonic (GSList *group,
|
||||||
const gchar *label);
|
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);
|
const gchar *label);
|
||||||
GSList* gtk_radio_button_get_group (GtkRadioButton *radio_button);
|
GSList* gtk_radio_button_get_group (GtkRadioButton *radio_button);
|
||||||
void gtk_radio_button_set_group (GtkRadioButton *radio_button,
|
void gtk_radio_button_set_group (GtkRadioButton *radio_button,
|
||||||
|
Reference in New Issue
Block a user