$NetBSD: patch-ag,v 1.2 2006/06/13 07:23:58 dbj Exp $ --- src/libguppiplot/guppi-root-group-item.c.orig 2002-01-08 01:31:08.000000000 -0500 +++ src/libguppiplot/guppi-root-group-item.c @@ -41,6 +41,8 @@ #include "guppi-root-group-tools.h" +static void canv_size_allocate (GtkWidget *, GtkAllocation *, gpointer); + static GtkObjectClass *parent_class = NULL; static void @@ -156,7 +158,6 @@ set_canvas_size (GuppiRootGroupItem *rg) static void changed_scale (GuppiCanvasItem *item, double scale) { - static void canv_size_allocate (GtkWidget *, GtkAllocation *, gpointer); GuppiRootGroupItem *root_item = GUPPI_ROOT_GROUP_ITEM (item); if (GUPPI_CANVAS_ITEM_CLASS (parent_class)->changed_scale) @@ -548,6 +549,7 @@ event (GnomeCanvasItem *gnoitem, GdkEven return motion_notify_event (root, &(ev->motion)); default: + break; } return FALSE; @@ -777,6 +779,7 @@ canv_size_allocate (GtkWidget *widget, case ROOT_GROUP_RESIZE_NONE: default: /* insure we do nothing */ + break; } if (please_resize_canvas)