mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
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:
parent
5a6d127d7b
commit
82c14f6f45
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user