summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-01-16 19:18:28 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-01-16 19:18:28 +0000
commitfb526d239af04183f5751f209c269d13b244de80 (patch)
treea3ed517b157811ca3fcc5e3f649585134f28380e /gtk/gtkcellrenderer.h
parentc6860c111b45dbe59c67a1d6c1ef646397a57812 (diff)
downloadgtk+-fb526d239af04183f5751f209c269d13b244de80.tar.gz
Fix #130969.
2004-01-16 Federico Mena Quintero <federico@ximian.com> Fix #130969. * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): Added an editing_canceled signal. * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Create the "editing-canceled" signal. (gtk_cell_renderer_editing_canceled): New function. * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done): Call gtk_cell_renderer_editing_canceled().
Diffstat (limited to 'gtk/gtkcellrenderer.h')
-rw-r--r--gtk/gtkcellrenderer.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk/gtkcellrenderer.h b/gtk/gtkcellrenderer.h
index 0dd241b9ff..5b681aeb97 100644
--- a/gtk/gtkcellrenderer.h
+++ b/gtk/gtkcellrenderer.h
@@ -107,11 +107,13 @@ struct _GtkCellRendererClass
GdkRectangle *cell_area,
GtkCellRendererState flags);
+ /* Signals */
+ void (* editing_canceled) (GtkCellRenderer *cell);
+
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
- void (*_gtk_reserved4) (void);
};
GType gtk_cell_renderer_get_type (void) G_GNUC_CONST;
@@ -151,8 +153,10 @@ void gtk_cell_renderer_get_fixed_size (GtkCellRenderer *cell,
gint *width,
gint *height);
+/* For use by cell renderer implementations only */
+void gtk_cell_renderer_editing_canceled (GtkCellRenderer *cell);
+
-
G_END_DECLS
#endif /* __GTK_CELL_RENDERER_H__ */