summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertoggle.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-03-28 04:01:21 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-03-28 04:01:21 +0000
commita7f29c4efc91ef0cc2c585af1d6fbf529bbb0074 (patch)
treeb311b522b77ae8ea3578a101e97a6c179ccd9b04 /gtk/gtkcellrenderertoggle.c
parent6e7b8a6722a743c14d3300a29bf8ba438ed8bd55 (diff)
downloadgdk-pixbuf-a7f29c4efc91ef0cc2c585af1d6fbf529bbb0074.tar.gz
Apply patch from Nils Barth fixing event return values. (#51041)
Tue Mar 27 22:36:07 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.h gtk/gtkrange.h: Apply patch from Nils Barth fixing event return values. (#51041) * gtk/gtkwidget.c: Fix some return values for default functions. * gtk/gtk[vh]scrollbar.c gtk/gtk[vh]range.c: Fix return values for trough_keys functions. * gtk/gtkwidget.h (struct _GtkWidgetClass): Fix return value for add_accelerator (shoudl have been a void return.) * gtk/gtkcellrenderer.[ch]: gtkcellrenderertoggle.h: Fix return type of EVENT. * gtk/gtkmarshal.list gtk/gtktexttag.c: Make EVENT signal return a boolean.
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r--gtk/gtkcellrenderertoggle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 91199be0e..3970f3246 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -46,7 +46,7 @@ static void gtk_cell_renderer_toggle_render (GtkCellRenderer *cel
GdkRectangle *cell_area,
GdkRectangle *expose_area,
guint flags);
-static gint gtk_cell_renderer_toggle_event (GtkCellRenderer *cell,
+static gboolean gtk_cell_renderer_toggle_event (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
gchar *path,