aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@src.gnome.org>2000-12-09 10:18:00 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-12-09 10:18:00 +0800
commite68b48fb6e2c34fc0097669ba3a85b04ceb1d618 (patch)
tree8f3cbf42223788d18467225854257078a328a54c /widgets/text
parentc65fda0e894b86fed0a88ecde17f4040e78af946 (diff)
downloadgsoc2013-evolution-e68b48fb6e2c34fc0097669ba3a85b04ceb1d618.tar
gsoc2013-evolution-e68b48fb6e2c34fc0097669ba3a85b04ceb1d618.tar.gz
gsoc2013-evolution-e68b48fb6e2c34fc0097669ba3a85b04ceb1d618.tar.bz2
gsoc2013-evolution-e68b48fb6e2c34fc0097669ba3a85b04ceb1d618.tar.lz
gsoc2013-evolution-e68b48fb6e2c34fc0097669ba3a85b04ceb1d618.tar.xz
gsoc2013-evolution-e68b48fb6e2c34fc0097669ba3a85b04ceb1d618.tar.zst
gsoc2013-evolution-e68b48fb6e2c34fc0097669ba3a85b04ceb1d618.zip
Work to get a Gtk-Doc infrastructure in place for Gal.
Work to get a Gtk-Doc infrastructure in place for Gal. Miguel. svn path=/trunk/; revision=6883
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text-event-processor-types.h31
1 files changed, 12 insertions, 19 deletions
diff --git a/widgets/text/e-text-event-processor-types.h b/widgets/text/e-text-event-processor-types.h
index 8f2ffbaf39..1e012cdf1a 100644
--- a/widgets/text/e-text-event-processor-types.h
+++ b/widgets/text/e-text-event-processor-types.h
@@ -36,16 +36,9 @@ extern "C" {
#include <gdk/gdktypes.h>
-typedef enum _ETextEventProcessorCommandPosition ETextEventProcessorCommandPosition;
-typedef enum _ETextEventProcessorCommandAction ETextEventProcessorCommandAction;
-typedef struct _ETextEventProcessorCommand ETextEventProcessorCommand;
-
typedef union _ETextEventProcessorEvent ETextEventProcessorEvent;
-typedef struct _ETextEventProcessorEventButton ETextEventProcessorEventButton;
-typedef struct _ETextEventProcessorEventKey ETextEventProcessorEventKey;
-typedef struct _ETextEventProcessorEventMotion ETextEventProcessorEventMotion;
-enum _ETextEventProcessorCommandPosition {
+typedef enum {
E_TEP_VALUE,
E_TEP_SELECTION,
@@ -73,9 +66,9 @@ enum _ETextEventProcessorCommandPosition {
E_TEP_SELECT_WORD,
E_TEP_SELECT_ALL
-};
+} ETextEventProcessorCommandPosition;
-enum _ETextEventProcessorCommandAction {
+typedef enum {
E_TEP_MOVE,
E_TEP_SELECT,
E_TEP_DELETE,
@@ -91,39 +84,39 @@ enum _ETextEventProcessorCommandAction {
E_TEP_UNGRAB,
E_TEP_NOP
-};
+} ETextEventProcessorCommandAction;
-struct _ETextEventProcessorCommand {
+typedef struct {
ETextEventProcessorCommandPosition position;
ETextEventProcessorCommandAction action;
int value;
char *string;
guint32 time;
-};
+} ETextEventProcessorCommand;
-struct _ETextEventProcessorEventButton {
+typedef struct {
GdkEventType type;
guint32 time;
guint state;
guint button;
gint position;
-};
+} ETextEventProcessorEventButton;
-struct _ETextEventProcessorEventKey {
+typedef struct {
GdkEventType type;
guint32 time;
guint state;
guint keyval;
gint length;
gchar *string;
-};
+} ETextEventProcessorEventKey;
-struct _ETextEventProcessorEventMotion {
+typedef struct {
GdkEventType type;
guint32 time;
guint state;
gint position;
-};
+} ETextEventProcessorEventMotion;
union _ETextEventProcessorEvent {
GdkEventType type;