index 893a7a7e006751e59fbe75c60573a35e7ab86445..4b60ce812d20ff031bcf8f8b4095fb8f99942d03 100644 (file)
#include "widget-sizes.h"
-bool
-spinbutton_focus_in (GtkWidget *w, GdkEventKey *event, gpointer data)
+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;