Doc comment fixing. (Mostly non-matching parameter names.)
Thu Sep 7 11:47:02 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtktextbuffer.c gtk/gtkimcontext.c gtk/gtkwidget.c: Doc comment fixing. (Mostly non-matching parameter names.) * gtk/gtkcalendar.c gtk/gtklist.c gtk/gtknotebook.c: Modify comments a little to avoid looking like a doc comment. * gtk/gtkspinbutton.h (GTK_INPUT_ERROR): Change INPUT_ERROR to GTK_INPUT_ERROR. (Should the mechanism for erros in spin button conversions be changed to GError?) * gtk/gtkcolorsel.c (GTK_CUSTOM_PALETTE_WIDTH/HEIGHT): Move private #defines into .c file. * gtk/gtktexttag.c (gtk_text_tag_class_init): Alphabetize order of argument addition, remove duplicates. * gtk/gtkaspectframe.h (struct _GtkAspectFrameClass): parent class is FrameClass, not BinClass. * gtk/gtk.h: Add gtkinvisible, which was missing. (It's occasionalyl useful for client apps, if seldom.) * gdk/gdktypes.h: Remove obsolete GDK_CORE_POINTER #define.
This commit is contained in:
@ -2997,7 +2997,7 @@ spin_button_month_input_func (GtkSpinButton *spin_button,
|
||||
if (!found)
|
||||
{
|
||||
*new_val = 0.0;
|
||||
return INPUT_ERROR;
|
||||
return GTK_INPUT_ERROR;
|
||||
}
|
||||
*new_val = (gfloat) i;
|
||||
return TRUE;
|
||||
@ -3032,7 +3032,7 @@ spin_button_hex_input_func (GtkSpinButton *spin_button,
|
||||
res = (gfloat)(strtol(buf, &err, 16));
|
||||
*new_val = res;
|
||||
if (*err)
|
||||
return INPUT_ERROR;
|
||||
return GTK_INPUT_ERROR;
|
||||
else
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user