gtk/gtkbutton.[ch] fixed inline comments

2001-10-26  Sven Neumann  <sven@gimp.org>

        * gtk/gtkbutton.[ch]
        * gtk/gtkdnd.c: fixed inline comments

        * gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar.
This commit is contained in:
Sven Neumann 2001-10-26 15:44:20 +00:00 committed by Sven Neumann
parent 5a6d127d7b
commit 82c14f6f45
5 changed files with 10 additions and 6 deletions

View File

@ -158,6 +158,8 @@ Returns the current relief style of the given #GtkButton.
</para> </para>
@button: @button:
@use_stock:
<!-- # Unused Parameters # -->
@value: @value:
@ -176,6 +178,8 @@ Returns the current relief style of the given #GtkButton.
</para> </para>
@button: @button:
@use_underline:
<!-- # Unused Parameters # -->
@value: @value:

View File

@ -1148,7 +1148,7 @@ gtk_button_set_use_underline (GtkButton *button,
/** /**
* gtk_button_get_use_underline: * gtk_button_get_use_underline:
* @label: a #GtkButton * @button: a #GtkButton
* *
* Returns whether an embedded underline in the button label indicates a * Returns whether an embedded underline in the button label indicates a
* mnemonic. See gtk_button_set_use_underline (). * mnemonic. See gtk_button_set_use_underline ().

View File

@ -96,10 +96,10 @@ void gtk_button_set_label (GtkButton *button,
const gchar *label); const gchar *label);
G_CONST_RETURN gchar *gtk_button_get_label (GtkButton *button); G_CONST_RETURN gchar *gtk_button_get_label (GtkButton *button);
void gtk_button_set_use_underline (GtkButton *button, void gtk_button_set_use_underline (GtkButton *button,
gboolean value); gboolean use_underline);
gboolean gtk_button_get_use_underline (GtkButton *button); gboolean gtk_button_get_use_underline (GtkButton *button);
void gtk_button_set_use_stock (GtkButton *button, void gtk_button_set_use_stock (GtkButton *button,
gboolean value); gboolean use_stock);
gboolean gtk_button_get_use_stock (GtkButton *button); gboolean gtk_button_get_use_stock (GtkButton *button);
void _gtk_button_set_depressed (GtkButton *button, void _gtk_button_set_depressed (GtkButton *button,
gboolean depressed); gboolean depressed);

View File

@ -2037,8 +2037,7 @@ gtk_drag_source_set_icon_pixbuf (GtkWidget *widget,
/** /**
* gtk_drag_source_set_icon_stock: * gtk_drag_source_set_icon_stock:
* @widget: a #GtkWidget * @widget: a #GtkWidget
* @stock: the ID of the stock icon to use * @stock_id: the ID of the stock icon to use
* @size: size at which to render the stock icon
* *
* Sets the icon that will be used for drags from a particular source * Sets the icon that will be used for drags from a particular source
* to a stock icon. * to a stock icon.

View File

@ -360,7 +360,8 @@ static void
gamma_ok_callback (GtkWidget *w, gpointer data) gamma_ok_callback (GtkWidget *w, gpointer data)
{ {
GtkGammaCurve *c = data; GtkGammaCurve *c = data;
gchar *start, *end; const gchar *start;
gchar *end;
gfloat v; gfloat v;
start = gtk_entry_get_text (GTK_ENTRY (c->gamma_text)); start = gtk_entry_get_text (GTK_ENTRY (c->gamma_text));