index 893a7a7e006751e59fbe75c60573a35e7ab86445..14ac51422fff7f7aa9e8e3de9fad0be2853fa7f4 100644 (file)
#include "widget-sizes.h"
-bool
+gboolean
spinbutton_focus_in (GtkWidget *w, GdkEventKey *event, gpointer data)
{
gdouble *ini;
spinbutton_defocus (GtkObject *container)
{
// defocus spinbuttons by moving focus to the canvas, unless "stay" is on
- bool stay = GPOINTER_TO_INT(gtk_object_get_data (GTK_OBJECT (container), "stay"));
+ gboolean stay = GPOINTER_TO_INT(gtk_object_get_data (GTK_OBJECT (container), "stay"));
if (stay) {
gtk_object_set_data (GTK_OBJECT (container), "stay", GINT_TO_POINTER (FALSE));
} else {
}
}
-bool
+gboolean
spinbutton_keypress (GtkWidget *w, GdkEventKey *event, gpointer data)
{
SPWidget *spw = (SPWidget *) data;