]> git.pld-linux.org Git - packages/tomoe.git/blame - tomoe-bz502662.patch
Release 29 (by relup.sh)
[packages/tomoe.git] / tomoe-bz502662.patch
CommitLineData
ad34972e
JR
1diff -up ./lib/tomoe-dict-ptr-array.c.bz502662 ./lib/tomoe-dict-ptr-array.c
2--- ./lib/tomoe-dict-ptr-array.c.bz502662 2007-06-21 11:48:57.000000000 +1000
3+++ ./lib/tomoe-dict-ptr-array.c 2009-06-02 13:23:40.000000000 +1000
4@@ -50,7 +50,7 @@ struct _TomoeDictPtrArrayPrivate
5
6 static TomoeDictClass *parent_class;
7
8-G_DEFINE_ABSTRACT_TYPE (TomoeDictPtrArray, _tomoe_dict_ptr_array, TOMOE_TYPE_DICT)
9+G_DEFINE_ABSTRACT_TYPE (TomoeDictPtrArray, tomoe_dict_ptr_array, TOMOE_TYPE_DICT)
10
11 static void dispose (GObject *object);
12 static void set_property (GObject *object,
13@@ -75,7 +75,7 @@ static gboolean is_editable
14 static gchar *get_available_private_utf8 (TomoeDict *dict);
15
16 static void
17-_tomoe_dict_ptr_array_class_init (TomoeDictPtrArrayClass *klass)
18+tomoe_dict_ptr_array_class_init (TomoeDictPtrArrayClass *klass)
19 {
20 GObjectClass *gobject_class;
21 TomoeDictClass *dict_class;
22@@ -123,7 +123,7 @@ _tomoe_dict_ptr_array_class_init (TomoeD
23 }
24
25 static void
26-_tomoe_dict_ptr_array_init (TomoeDictPtrArray *dict)
27+tomoe_dict_ptr_array_init (TomoeDictPtrArray *dict)
28 {
29 TomoeDictPtrArrayPrivate *priv = TOMOE_DICT_PTR_ARRAY_GET_PRIVATE (dict);
30 priv->chars = g_ptr_array_new();
31@@ -196,7 +196,7 @@ char_compare_func (gconstpointer a, gcon
32 }
33
34 void
35-_tomoe_dict_ptr_array_sort (TomoeDictPtrArray *dict)
36+tomoe_dict_ptr_array_sort (TomoeDictPtrArray *dict)
37 {
38 TomoeDictPtrArrayPrivate *priv;
39
40@@ -219,7 +219,7 @@ register_char (TomoeDict *dict, TomoeCha
41
42 unregister_char (dict, tomoe_char_get_utf8 (chr));
43 g_ptr_array_add (priv->chars, g_object_ref (G_OBJECT (chr)));
44- _tomoe_dict_ptr_array_sort (TOMOE_DICT_PTR_ARRAY (dict));
45+ tomoe_dict_ptr_array_sort (TOMOE_DICT_PTR_ARRAY (dict));
46
47 priv->modified = TRUE;
48
49@@ -523,7 +523,7 @@ get_available_private_utf8 (TomoeDict *d
50 }
51
52 GPtrArray *
53-_tomoe_dict_ptr_array_get_array (TomoeDictPtrArray *dict)
54+tomoe_dict_ptr_array_get_array (TomoeDictPtrArray *dict)
55 {
56 g_return_val_if_fail (TOMOE_IS_DICT_PTR_ARRAY (dict), NULL);
57
58diff -up ./lib/tomoe-dict-ptr-array.h.bz502662 ./lib/tomoe-dict-ptr-array.h
59--- ./lib/tomoe-dict-ptr-array.h.bz502662 2007-06-21 11:48:57.000000000 +1000
60+++ ./lib/tomoe-dict-ptr-array.h 2009-06-02 13:27:12.000000000 +1000
61@@ -29,7 +29,7 @@ G_BEGIN_DECLS
62
63 #include "tomoe-dict.h"
64
65-#define TOMOE_TYPE_DICT_PTR_ARRAY (_tomoe_dict_ptr_array_get_type ())
66+#define TOMOE_TYPE_DICT_PTR_ARRAY (tomoe_dict_ptr_array_get_type ())
67 #define TOMOE_DICT_PTR_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TOMOE_TYPE_DICT_PTR_ARRAY, TomoeDictPtrArray))
68 #define TOMOE_DICT_PTR_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TOMOE_TYPE_DICT_PTR_ARRAY, TomoeDictPtrArrayClass))
69 #define TOMOE_IS_DICT_PTR_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TOMOE_TYPE_DICT_PTR_ARRAY))
70@@ -49,9 +49,11 @@ struct _TomoeDictPtrArrayClass
71 TomoeDictClass parent_class;
72 };
73
74-GType _tomoe_dict_ptr_array_get_type (void) G_GNUC_CONST;
75-void _tomoe_dict_ptr_array_sort (TomoeDictPtrArray *dict);
76-GPtrArray *_tomoe_dict_ptr_array_get_array (TomoeDictPtrArray *dict);
77+GType tomoe_dict_ptr_array_get_type (void) G_GNUC_CONST;
78+void tomoe_dict_ptr_array_sort (TomoeDictPtrArray *dict);
79+#define _tomoe_dict_ptr_array_sort tomoe_dict_ptr_array_sort
80+GPtrArray *tomoe_dict_ptr_array_get_array (TomoeDictPtrArray *dict);
81+#define _tomoe_dict_ptr_array_get_array tomoe_dict_ptr_array_get_array
82
83 G_END_DECLS
84
85diff -up ./lib/tomoe-xml-parser.c.bz502662 ./lib/tomoe-xml-parser.c
86--- ./lib/tomoe-xml-parser.c.bz502662 2007-04-10 17:24:21.000000000 +1000
87+++ ./lib/tomoe-xml-parser.c 2009-06-02 13:23:40.000000000 +1000
88@@ -428,7 +428,7 @@ init_parse_data (ParseData *data, TomoeX
89 }
90
91 gboolean
92-_tomoe_xml_parser_parse_dictionary_file (const gchar *filename,
93+tomoe_xml_parser_parse_dictionary_file (const gchar *filename,
94 TomoeXMLParsedData *result)
95 {
96 GMarkupParseContext *context;
97@@ -469,7 +469,7 @@ _tomoe_xml_parser_parse_dictionary_file
98 }
99
100 TomoeChar *
101-_tomoe_xml_parser_parse_char_data (const gchar *xml, gssize len)
102+tomoe_xml_parser_parse_char_data (const gchar *xml, gssize len)
103 {
104 GMarkupParseContext *context;
105 TomoeXMLParsedData result;
106diff -up ./lib/tomoe-xml-parser.h.bz502662 ./lib/tomoe-xml-parser.h
107--- ./lib/tomoe-xml-parser.h.bz502662 2007-04-10 17:24:21.000000000 +1000
108+++ ./lib/tomoe-xml-parser.h 2009-06-02 13:23:40.000000000 +1000
109@@ -37,11 +37,12 @@ struct _TomoeXMLParsedData
110 GPtrArray *chars;
111 };
112
113-gboolean _tomoe_xml_parser_parse_dictionary_file (const gchar *filename,
114+gboolean tomoe_xml_parser_parse_dictionary_file (const gchar *filename,
115 TomoeXMLParsedData *result);
116-TomoeChar *_tomoe_xml_parser_parse_char_data (const gchar *xml,
117+#define _tomoe_xml_parser_parse_dictionary_file tomoe_xml_parser_parse_dictionary_file
118+TomoeChar *tomoe_xml_parser_parse_char_data (const gchar *xml,
119 gssize len);
120-
121+#define _tomoe_xml_parser_parse_char_data tomoe_xml_parser_parse_char_data
122
123 G_END_DECLS
124
This page took 0.047256 seconds and 4 git commands to generate.