aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/gtk/gtknarrativeview.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-10-10 17:38:23 +0200
committerThomas White <taw@bitwiz.me.uk>2019-10-10 17:38:23 +0200
commit23c8103b45433c0bef316c84acbc74db4dcb5621 (patch)
tree6eaa453f85a00945546ddb9a62a0d25d81ac4c0d /libstorycode/gtk/gtknarrativeview.h
parent428a3329d1b86c9daa15fa72b2fbbd54859579ca (diff)
Make symbol names unique across all files
Enables Meson unity builds, helps ctags work, and reduces space for bugs
Diffstat (limited to 'libstorycode/gtk/gtknarrativeview.h')
-rw-r--r--libstorycode/gtk/gtknarrativeview.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libstorycode/gtk/gtknarrativeview.h b/libstorycode/gtk/gtknarrativeview.h
index 910c60f..18c97bb 100644
--- a/libstorycode/gtk/gtknarrativeview.h
+++ b/libstorycode/gtk/gtknarrativeview.h
@@ -52,11 +52,11 @@
#define GTK_NARRATIVE_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \
GTK_TYPE_NARRATIVE_VIEW, GtkNarrativeViewClass))
-enum drag_status
+enum narrative_drag_status
{
- DRAG_STATUS_NONE,
- DRAG_STATUS_COULD_DRAG,
- DRAG_STATUS_DRAGGING,
+ NARRATIVE_DRAG_STATUS_NONE,
+ NARRATIVE_DRAG_STATUS_COULD_DRAG,
+ NARRATIVE_DRAG_STATUS_DRAGGING,
};
@@ -87,7 +87,7 @@ struct _gtknarrativeview
struct edit_pos cpos;
/* Rubber band boxes and related stuff */
- enum drag_status drag_status;
+ enum narrative_drag_status drag_status;
struct edit_pos sel_start; /* Where the user dragged from */
struct edit_pos sel_end;
};