gucharmap r1719 - trunk/gucharmap
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gucharmap r1719 - trunk/gucharmap
- Date: Fri, 21 Mar 2008 11:01:43 +0000 (GMT)
Author: chpe
Date: Fri Mar 21 11:01:43 2008
New Revision: 1719
URL: http://svn.gnome.org/viewvc/gucharmap?rev=1719&view=rev
Log:
Move type definition to header file.
Modified:
trunk/gucharmap/gucharmap-codepoint-list.h
trunk/gucharmap/gucharmap-private.h
trunk/gucharmap/gucharmap-types.h
Modified: trunk/gucharmap/gucharmap-codepoint-list.h
==============================================================================
--- trunk/gucharmap/gucharmap-codepoint-list.h (original)
+++ trunk/gucharmap/gucharmap-codepoint-list.h Fri Mar 21 11:01:43 2008
@@ -35,6 +35,26 @@
#define GUCHARMAP_IS_CODEPOINT_LIST_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GUCHARMAP_TYPE_CODEPOINT_LIST))
#define GUCHARMAP_CODEPOINT_LIST_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GUCHARMAP_TYPE_CODEPOINT_LIST, GucharmapCodepointListClass))
+typedef struct _GucharmapScriptCodepointList GucharmapScriptCodepointList;
+typedef struct _GucharmapScriptCodepointListClass GucharmapScriptCodepointListClass;
+
+struct _GucharmapCodepointList
+{
+ GObject parent_instance;
+};
+
+struct _GucharmapCodepointListClass
+{
+ GObjectClass parent_class;
+
+ /* zero is the first index */
+ gint (*get_last_index) (GucharmapCodepointList *list);
+ gunichar (*get_char) (GucharmapCodepointList *list,
+ gint index);
+ gint (*get_index) (GucharmapCodepointList *list,
+ gunichar wc);
+};
+
GType gucharmap_codepoint_list_get_type (void);
GucharmapCodepointList * gucharmap_codepoint_list_new (gunichar start,
gunichar end);
Modified: trunk/gucharmap/gucharmap-private.h
==============================================================================
--- trunk/gucharmap/gucharmap-private.h (original)
+++ trunk/gucharmap/gucharmap-private.h Fri Mar 21 11:01:43 2008
@@ -144,24 +144,6 @@
gboolean move_zoom);
-struct _GucharmapCodepointList
-{
- GObject parent;
-};
-
-struct _GucharmapCodepointListClass
-{
- GObjectClass parent_class;
-
- /* zero is the first index */
- gint (*get_last_index) (GucharmapCodepointList *list);
- gunichar (*get_char) (GucharmapCodepointList *list,
- gint index);
- gint (*get_index) (GucharmapCodepointList *list,
- gunichar wc);
-};
-
-
struct _GucharmapScriptChaptersModel
{
GucharmapChaptersModel parent;
Modified: trunk/gucharmap/gucharmap-types.h
==============================================================================
--- trunk/gucharmap/gucharmap-types.h (original)
+++ trunk/gucharmap/gucharmap-types.h Fri Mar 21 11:01:43 2008
@@ -24,9 +24,6 @@
#ifndef GUCHARMAP_TYPES_H
#define GUCHARMAP_TYPES_H
-typedef struct _GucharmapScriptCodepointList GucharmapScriptCodepointList;
-typedef struct _GucharmapScriptCodepointListClass GucharmapScriptCodepointListClass;
-
typedef struct _GucharmapScriptChaptersModel GucharmapScriptChaptersModel;
typedef struct _GucharmapScriptChaptersModelClass GucharmapScriptChaptersModelClass;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]