summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-03-07 14:33:53 +0000
committerTim Janik <timj@src.gnome.org>2001-03-07 14:33:53 +0000
commit17a36cd568219f8684962c274cd4832ad0feb1b2 (patch)
tree6dfda823b5252c02f0896defaa37f22566b10810
parent94742208d8f1e274d8a5db4515acfbd4b3d9e4fa (diff)
downloadpango-17a36cd568219f8684962c274cd4832ad0feb1b2.tar.gz
fixed up g_boxed_type_register_static() since GLib signature changed.
Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org> * pango/pango-attributes.c: fixed up g_boxed_type_register_static() since GLib signature changed. * got rid of bogus g_type_init() calls.
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-1-07
-rw-r--r--ChangeLog.pre-1-107
-rw-r--r--ChangeLog.pre-1-27
-rw-r--r--ChangeLog.pre-1-47
-rw-r--r--ChangeLog.pre-1-67
-rw-r--r--ChangeLog.pre-1-87
-rw-r--r--pango/pango-attributes.c24
-rw-r--r--pango/pango-context.c2
9 files changed, 59 insertions, 16 deletions
diff --git a/ChangeLog b/ChangeLog
index b653aae1..8a7490a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
+
+ * pango/pango-attributes.c: fixed up g_boxed_type_register_static()
+ since GLib signature changed.
+
+ * got rid of bogus g_type_init() calls.
+
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): add
diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0
index b653aae1..8a7490a4 100644
--- a/ChangeLog.pre-1-0
+++ b/ChangeLog.pre-1-0
@@ -1,3 +1,10 @@
+Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
+
+ * pango/pango-attributes.c: fixed up g_boxed_type_register_static()
+ since GLib signature changed.
+
+ * got rid of bogus g_type_init() calls.
+
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): add
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index b653aae1..8a7490a4 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,10 @@
+Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
+
+ * pango/pango-attributes.c: fixed up g_boxed_type_register_static()
+ since GLib signature changed.
+
+ * got rid of bogus g_type_init() calls.
+
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): add
diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2
index b653aae1..8a7490a4 100644
--- a/ChangeLog.pre-1-2
+++ b/ChangeLog.pre-1-2
@@ -1,3 +1,10 @@
+Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
+
+ * pango/pango-attributes.c: fixed up g_boxed_type_register_static()
+ since GLib signature changed.
+
+ * got rid of bogus g_type_init() calls.
+
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): add
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index b653aae1..8a7490a4 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,10 @@
+Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
+
+ * pango/pango-attributes.c: fixed up g_boxed_type_register_static()
+ since GLib signature changed.
+
+ * got rid of bogus g_type_init() calls.
+
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): add
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index b653aae1..8a7490a4 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,10 @@
+Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
+
+ * pango/pango-attributes.c: fixed up g_boxed_type_register_static()
+ since GLib signature changed.
+
+ * got rid of bogus g_type_init() calls.
+
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): add
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index b653aae1..8a7490a4 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,10 @@
+Wed Mar 7 09:21:14 2001 Tim Janik <timj@gtk.org>
+
+ * pango/pango-attributes.c: fixed up g_boxed_type_register_static()
+ since GLib signature changed.
+
+ * got rid of bogus g_type_init() calls.
+
2001-02-28 Havoc Pennington <hp@redhat.com>
* pango/pango-font.h (struct _PangoFontMetrics): add
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index a28dd7a1..e8c7c731 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -689,13 +689,11 @@ pango_attr_list_get_type (void)
static GType our_type = 0;
if (our_type == 0)
- {
- g_type_init (0);
-
- our_type = g_boxed_type_register_static ("PangoAttrList",
- pango_attr_list_copy,
- pango_attr_list_unref);
- }
+ our_type = g_boxed_type_register_static ("PangoAttrList",
+ NULL,
+ pango_attr_list_copy,
+ pango_attr_list_unref,
+ FALSE);
return our_type;
}
@@ -1505,13 +1503,11 @@ pango_color_get_type (void)
static GType our_type = 0;
if (our_type == 0)
- {
- g_type_init (0);
-
- our_type = g_boxed_type_register_static ("PangoColor",
- pango_color_copy,
- pango_color_free);
- }
+ our_type = g_boxed_type_register_static ("PangoColor",
+ NULL,
+ pango_color_copy,
+ pango_color_free,
+ FALSE);
return our_type;
}
diff --git a/pango/pango-context.c b/pango/pango-context.c
index f0c1bd9d..95a96e85 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -150,8 +150,6 @@ pango_context_new (void)
{
PangoContext *context;
- g_type_init (0);
-
context = PANGO_CONTEXT (g_type_create_instance (pango_context_get_type ()));
return context;