aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-text-event-processor.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-17 13:40:18 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-17 13:40:18 +0800
commit68b8639345327b84e0e524d29539e0aefbbfe3a1 (patch)
tree0f2a3eb2bac9b8c3ac78d5f85c3441f1268b9aa1 /e-util/e-text-event-processor.h
parenta01751b83a74b5f9f42e5f960b2cdb20e546133b (diff)
downloadgsoc2013-evolution-68b8639345327b84e0e524d29539e0aefbbfe3a1.tar.gz
gsoc2013-evolution-68b8639345327b84e0e524d29539e0aefbbfe3a1.tar.zst
gsoc2013-evolution-68b8639345327b84e0e524d29539e0aefbbfe3a1.zip
fix c&p typo.
2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_class_init): fix c&p typo. * gal/widgets/e-categories-master-list-dialog.c: switch to GtkDialogism's. * gal/widgets/gal-categories.[ch]: same. * gal/widgets/e-categories-master-list-dialog.glade: libglade-convert. * gal/widgets/e-categories.glade: same. * gal/util/e-text-event-processor.[ch]: subclass this from GObject. * gal/util/e-text-event-processor-emacs-like.[ch]: clean up the gtk cruft a bit. * gal/e-text/e-text.c (_get_tep): remove the _sink call. (e_text_init): same. * gal/e-text/e-text-model.[ch]: subclass this from GObject instead of GtkObject. svn path=/trunk/; revision=18808
Diffstat (limited to 'e-util/e-text-event-processor.h')
-rw-r--r--e-util/e-text-event-processor.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/e-util/e-text-event-processor.h b/e-util/e-text-event-processor.h
index 2c55a839e0..21f2550fde 100644
--- a/e-util/e-text-event-processor.h
+++ b/e-util/e-text-event-processor.h
@@ -37,19 +37,18 @@ extern "C" {
*
*/
-#define E_TEXT_EVENT_PROCESSOR_TYPE (e_text_event_processor_get_type ())
-#define E_TEXT_EVENT_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TEXT_EVENT_PROCESSOR_TYPE, ETextEventProcessor))
-#define E_TEXT_EVENT_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_TEXT_EVENT_PROCESSOR_TYPE, ETextEventProcessorClass))
-#define E_IS_TEXT_EVENT_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_TYPE))
-#define E_IS_TEXT_EVENT_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_TYPE))
-
-
+#define E_TEXT_EVENT_PROCESSOR_TYPE (e_text_event_processor_get_type ())
+#define E_TEXT_EVENT_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), E_TEXT_EVENT_PROCESSOR_TYPE, ETextEventProcessor))
+#define E_TEXT_EVENT_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), E_TEXT_EVENT_PROCESSOR_TYPE, ETextEventProcessorClass))
+#define E_IS_TEXT_EVENT_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_TYPE))
+#define E_IS_TEXT_EVENT_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), E_TEXT_EVENT_PROCESSOR_TYPE))
+#define E_TEXT_EVENT_PROCESSOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), E_TEXT_EVENT_PROCESSOR_TYPE, ETextEventProcessorClass))
typedef struct _ETextEventProcessor ETextEventProcessor;
typedef struct _ETextEventProcessorClass ETextEventProcessorClass;
struct _ETextEventProcessor
{
- GtkObject parent;
+ GObject parent;
/* object specific fields */
guint allow_newlines : 1;
@@ -67,7 +66,7 @@ struct _ETextEventProcessorClass
};
-GtkType e_text_event_processor_get_type (void);
+GType e_text_event_processor_get_type (void);
gint e_text_event_processor_handle_event (ETextEventProcessor *tep, ETextEventProcessorEvent *event);
#ifdef __cplusplus