Commit 82c14f6f authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

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.
parent 5a6d127d
......@@ -158,6 +158,8 @@ Returns the current relief style of the given #GtkButton.
</para>
@button:
@use_stock:
<!-- # Unused Parameters # -->
@value:
......@@ -176,6 +178,8 @@ Returns the current relief style of the given #GtkButton.
</para>
@button:
@use_underline:
<!-- # Unused Parameters # -->
@value:
......
......@@ -1148,7 +1148,7 @@ gtk_button_set_use_underline (GtkButton *button,
/**
* gtk_button_get_use_underline:
* @label: a #GtkButton
* @button: a #GtkButton
*
* Returns whether an embedded underline in the button label indicates a
* mnemonic. See gtk_button_set_use_underline ().
......
......@@ -96,10 +96,10 @@ void gtk_button_set_label (GtkButton *button,
const gchar *label);
G_CONST_RETURN gchar *gtk_button_get_label (GtkButton *button);
void gtk_button_set_use_underline (GtkButton *button,
gboolean value);
gboolean use_underline);
gboolean gtk_button_get_use_underline (GtkButton *button);
void gtk_button_set_use_stock (GtkButton *button,
gboolean value);
gboolean use_stock);
gboolean gtk_button_get_use_stock (GtkButton *button);
void _gtk_button_set_depressed (GtkButton *button,
gboolean depressed);
......
......@@ -2037,8 +2037,7 @@ gtk_drag_source_set_icon_pixbuf (GtkWidget *widget,
/**
* gtk_drag_source_set_icon_stock:
* @widget: a #GtkWidget
* @stock: the ID of the stock icon to use
* @size: size at which to render the stock icon
* @stock_id: the ID of the stock icon to use
*
* Sets the icon that will be used for drags from a particular source
* to a stock icon.
......
......@@ -360,7 +360,8 @@ static void
gamma_ok_callback (GtkWidget *w, gpointer data)
{
GtkGammaCurve *c = data;
gchar *start, *end;
const gchar *start;
gchar *end;
gfloat v;
start = gtk_entry_get_text (GTK_ENTRY (c->gamma_text));
......
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