[evince] libview: Fix struct names
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] libview: Fix struct names
- Date: Tue, 30 Jul 2013 11:48:41 +0000 (UTC)
commit 214468fc9e3943e4eb4adaf7d8e65377ffec6acb
Author: Christian Persch <chpe gnome org>
Date: Tue Jul 30 13:25:21 2013 +0200
libview: Fix struct names
libview/ev-pixbuf-cache.h | 6 ++++--
libview/ev-timeline.h | 8 ++++----
libview/ev-transition-animation.h | 8 ++++----
3 files changed, 12 insertions(+), 10 deletions(-)
---
diff --git a/libview/ev-pixbuf-cache.h b/libview/ev-pixbuf-cache.h
index 493807e..ff4021f 100644
--- a/libview/ev-pixbuf-cache.h
+++ b/libview/ev-pixbuf-cache.h
@@ -44,12 +44,14 @@ G_BEGIN_DECLS
/* The coordinates in the rect here are at scale == 1.0, so that we can ignore
* resizings. There is one per page, maximum.
*/
-typedef struct {
+typedef struct _EvViewSelection EvViewSelection;
+
+struct _EvViewSelection {
int page;
EvRectangle rect;
cairo_region_t *covered_region;
EvSelectionStyle style;
-} EvViewSelection;
+};
typedef struct _EvPixbufCache EvPixbufCache;
typedef struct _EvPixbufCacheClass EvPixbufCacheClass;
diff --git a/libview/ev-timeline.h b/libview/ev-timeline.h
index f0ad784..942a6fc 100644
--- a/libview/ev-timeline.h
+++ b/libview/ev-timeline.h
@@ -37,14 +37,14 @@ G_BEGIN_DECLS
#define EV_IS_TIMELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_TIMELINE))
#define EV_TIMELINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_TIMELINE,
EvTimelineClass))
-typedef struct EvTimeline EvTimeline;
-typedef struct EvTimelineClass EvTimelineClass;
+typedef struct _EvTimeline EvTimeline;
+typedef struct _EvTimelineClass EvTimelineClass;
-struct EvTimeline {
+struct _EvTimeline {
GObject parent_instance;
};
-struct EvTimelineClass {
+struct _EvTimelineClass {
GObjectClass parent_class;
/* vmethods */
diff --git a/libview/ev-transition-animation.h b/libview/ev-transition-animation.h
index acf7298..520d26d 100644
--- a/libview/ev-transition-animation.h
+++ b/libview/ev-transition-animation.h
@@ -39,14 +39,14 @@ G_BEGIN_DECLS
#define EV_IS_TRANSITION_ANIMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
EV_TYPE_TRANSITION_ANIMATION))
#define EV_TRANSITION_ANIMATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
EV_TYPE_TRANSITION_ANIMATION, EvTransitionAnimationClass))
-typedef struct EvTransitionAnimation EvTransitionAnimation;
-typedef struct EvTransitionAnimationClass EvTransitionAnimationClass;
+typedef struct _EvTransitionAnimation EvTransitionAnimation;
+typedef struct _EvTransitionAnimationClass EvTransitionAnimationClass;
-struct EvTransitionAnimation {
+struct _EvTransitionAnimation {
EvTimeline parent_instance;
};
-struct EvTransitionAnimationClass {
+struct _EvTransitionAnimationClass {
EvTimelineClass parent_class;
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]