summaryrefslogtreecommitdiff
path: root/tests/testgtk.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-09-07 18:07:59 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-09-07 18:07:59 +0000
commit21b538970edd944b694f44e8a7c9f7256dca02d3 (patch)
tree85f42fd7cd923f1bf4e821499808c1c79553c5a9 /tests/testgtk.c
parent8c4980ed5439c7c8bd2a4a5383509c4512339f8b (diff)
downloadgdk-pixbuf-21b538970edd944b694f44e8a7c9f7256dca02d3.tar.gz
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.
Diffstat (limited to 'tests/testgtk.c')
-rw-r--r--tests/testgtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testgtk.c b/tests/testgtk.c
index eb58685e2..88fe44983 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -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;
}