Rename to gtk_radio_menu_item_get_group(), add deprecated alias. (#57044)

Thu Jul 12 18:29:40 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group):
	Rename to gtk_radio_menu_item_get_group(), add deprecated
	alias. (#57044)

	* gtk/gtkfilesel.c: Indentation fix.
This commit is contained in:
Owen Taylor 2001-07-12 22:45:05 +00:00 committed by Owen Taylor
parent aefa836108
commit c042389acc
12 changed files with 77 additions and 10 deletions

View File

@ -1,3 +1,11 @@
Thu Jul 12 18:29:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group):
Rename to gtk_radio_menu_item_get_group(), add deprecated
alias. (#57044)
* gtk/gtkfilesel.c: Indentation fix.
Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com> Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias

View File

@ -1,3 +1,11 @@
Thu Jul 12 18:29:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group):
Rename to gtk_radio_menu_item_get_group(), add deprecated
alias. (#57044)
* gtk/gtkfilesel.c: Indentation fix.
Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com> Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias

View File

@ -1,3 +1,11 @@
Thu Jul 12 18:29:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group):
Rename to gtk_radio_menu_item_get_group(), add deprecated
alias. (#57044)
* gtk/gtkfilesel.c: Indentation fix.
Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com> Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias

View File

@ -1,3 +1,11 @@
Thu Jul 12 18:29:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group):
Rename to gtk_radio_menu_item_get_group(), add deprecated
alias. (#57044)
* gtk/gtkfilesel.c: Indentation fix.
Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com> Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias

View File

@ -1,3 +1,11 @@
Thu Jul 12 18:29:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group):
Rename to gtk_radio_menu_item_get_group(), add deprecated
alias. (#57044)
* gtk/gtkfilesel.c: Indentation fix.
Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com> Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias

View File

@ -1,3 +1,11 @@
Thu Jul 12 18:29:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group):
Rename to gtk_radio_menu_item_get_group(), add deprecated
alias. (#57044)
* gtk/gtkfilesel.c: Indentation fix.
Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com> Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias

View File

@ -1,3 +1,11 @@
Thu Jul 12 18:29:40 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkradiomenuitem.[ch] (gtk_radio_menu_item_group):
Rename to gtk_radio_menu_item_get_group(), add deprecated
alias. (#57044)
* gtk/gtkfilesel.c: Indentation fix.
Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com> Thu Jul 12 17:33:00 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias * gtk/gtkbbox.h gtk/gtkcompat.h: Patch from Mathias

View File

@ -75,6 +75,7 @@ Used internally only.
Retrieves how much space a button box is placing between each child button. Retrieves how much space a button box is placing between each child button.
</para> </para>
@b:
@Returns: the current spacing applied to the buttons in @widget. @Returns: the current spacing applied to the buttons in @widget.
<!-- # Unused Parameters # --> <!-- # Unused Parameters # -->
@widget: a #GtkButtonBox. @widget: a #GtkButtonBox.
@ -115,6 +116,8 @@ Gets the default number of pixels that pad the buttons in a given button box.
Sets the amount of spacing between buttons in a given button box. Sets the amount of spacing between buttons in a given button box.
</para> </para>
@b:
@s:
<!-- # Unused Parameters # --> <!-- # Unused Parameters # -->
@widget: a #GtkButtonBox. @widget: a #GtkButtonBox.
@spacing: the number of pixels of spacing. @spacing: the number of pixels of spacing.

View File

@ -96,6 +96,8 @@ Creates a new #GtkMenu.
Adds a new #GtkMenuItem to the end of the menu's item list. Adds a new #GtkMenuItem to the end of the menu's item list.
</para> </para>
@m:
@c:
<!-- # Unused Parameters # --> <!-- # Unused Parameters # -->
@menu: a #GtkMenu. @menu: a #GtkMenu.
@child: The #GtkMenuItem to add. @child: The #GtkMenuItem to add.
@ -106,6 +108,8 @@ Adds a new #GtkMenuItem to the end of the menu's item list.
Adds a new #GtkMenuItem to the beginning of the menu's item list. Adds a new #GtkMenuItem to the beginning of the menu's item list.
</para> </para>
@m:
@c:
<!-- # Unused Parameters # --> <!-- # Unused Parameters # -->
@menu: a #GtkMenu. @menu: a #GtkMenu.
@child: The #GtkMenuItem to add. @child: The #GtkMenuItem to add.

View File

@ -70,14 +70,15 @@ Creates a new #GtkRadioMenuItem whose child is a simple #GtlLabel.
@Returns: a new #GtkRadioMenuItem @Returns: a new #GtkRadioMenuItem
<!-- ##### FUNCTION gtk_radio_menu_item_group ##### --> <!-- ##### MACRO gtk_radio_menu_item_group ##### -->
<para> <para>
Returns the group to which the radio menu item belongs, as a #GList of Returns the group to which the radio menu item belongs, as a #GList of
#GtkRadioMenuItem. The list belongs to GTK+ and should not be freed. #GtkRadioMenuItem. The list belongs to GTK+ and should not be freed.
</para> </para>
@radio_menu_item: the radio menu item
@Returns: its group @Returns: its group
<!-- # Unused Parameters # -->
@radio_menu_item: the radio menu item
<!-- ##### FUNCTION gtk_radio_menu_item_set_group ##### --> <!-- ##### FUNCTION gtk_radio_menu_item_set_group ##### -->

View File

@ -1568,12 +1568,13 @@ gtk_file_selection_file_button (GtkWidget *widget,
#ifdef G_WITH_CYGWIN #ifdef G_WITH_CYGWIN
/* Check to see if the selection was a drive selector */ /* Check to see if the selection was a drive selector */
if (isalpha (filename[0]) && (filename[1] == ':')) { if (isalpha (filename[0]) && (filename[1] == ':'))
/* It is... map it to a CYGWIN32 drive */ {
gchar *temp_filename = g_strdup_printf ("//%c/", tolower (filename[0])); /* It is... map it to a CYGWIN32 drive */
g_free(filename); gchar *temp_filename = g_strdup_printf ("//%c/", tolower (filename[0]));
filename = temp_filename; g_free(filename);
} filename = temp_filename;
}
#endif /* G_WITH_CYGWIN */ #endif /* G_WITH_CYGWIN */
if (filename) if (filename)

View File

@ -67,11 +67,13 @@ GtkWidget* gtk_radio_menu_item_new_with_label (GSList *group,
const gchar *label); const gchar *label);
GtkWidget* gtk_radio_menu_item_new_with_mnemonic (GSList *group, GtkWidget* gtk_radio_menu_item_new_with_mnemonic (GSList *group,
const gchar *label); const gchar *label);
GSList* gtk_radio_menu_item_group (GtkRadioMenuItem *radio_menu_item); GSList* gtk_radio_menu_item_get_group (GtkRadioMenuItem *radio_menu_item);
void gtk_radio_menu_item_set_group (GtkRadioMenuItem *radio_menu_item, void gtk_radio_menu_item_set_group (GtkRadioMenuItem *radio_menu_item,
GSList *group); GSList *group);
#ifndef G_DISABLE_DEPRECATED
#define gtk_radio_menu_item_group gtk_radio_menu_item_get_group
#endif
#ifdef __cplusplus #ifdef __cplusplus
} }