same here for PANGO_TYPE_TAB_ARRAY.

2001-07-02  James Henstridge  <james@daa.com.au>

	* gtk/gtktextview.c (gtk_text_view_class_init): same here for
	PANGO_TYPE_TAB_ARRAY.

	* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
	for PANGO_TYPE_TAB_ARRAY.

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
	s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/

	* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
	the file.  Remove Pango types from defs -- they are now defined in
	libpango.
This commit is contained in:
James Henstridge 2001-07-02 14:25:20 +00:00 committed by James Henstridge
parent 93db42e7a6
commit 84191d675f
11 changed files with 128 additions and 32 deletions

View File

@ -1,3 +1,18 @@
2001-07-02 James Henstridge <james@daa.com.au>
* gtk/gtktextview.c (gtk_text_view_class_init): same here for
PANGO_TYPE_TAB_ARRAY.
* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
for PANGO_TYPE_TAB_ARRAY.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/
* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
the file. Remove Pango types from defs -- they are now defined in
libpango.
Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org> Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org>
* gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/ * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/

View File

@ -1,3 +1,18 @@
2001-07-02 James Henstridge <james@daa.com.au>
* gtk/gtktextview.c (gtk_text_view_class_init): same here for
PANGO_TYPE_TAB_ARRAY.
* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
for PANGO_TYPE_TAB_ARRAY.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/
* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
the file. Remove Pango types from defs -- they are now defined in
libpango.
Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org> Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org>
* gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/ * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/

View File

@ -1,3 +1,18 @@
2001-07-02 James Henstridge <james@daa.com.au>
* gtk/gtktextview.c (gtk_text_view_class_init): same here for
PANGO_TYPE_TAB_ARRAY.
* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
for PANGO_TYPE_TAB_ARRAY.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/
* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
the file. Remove Pango types from defs -- they are now defined in
libpango.
Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org> Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org>
* gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/ * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/

View File

@ -1,3 +1,18 @@
2001-07-02 James Henstridge <james@daa.com.au>
* gtk/gtktextview.c (gtk_text_view_class_init): same here for
PANGO_TYPE_TAB_ARRAY.
* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
for PANGO_TYPE_TAB_ARRAY.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/
* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
the file. Remove Pango types from defs -- they are now defined in
libpango.
Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org> Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org>
* gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/ * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/

View File

@ -1,3 +1,18 @@
2001-07-02 James Henstridge <james@daa.com.au>
* gtk/gtktextview.c (gtk_text_view_class_init): same here for
PANGO_TYPE_TAB_ARRAY.
* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
for PANGO_TYPE_TAB_ARRAY.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/
* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
the file. Remove Pango types from defs -- they are now defined in
libpango.
Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org> Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org>
* gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/ * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/

View File

@ -1,3 +1,18 @@
2001-07-02 James Henstridge <james@daa.com.au>
* gtk/gtktextview.c (gtk_text_view_class_init): same here for
PANGO_TYPE_TAB_ARRAY.
* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
for PANGO_TYPE_TAB_ARRAY.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/
* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
the file. Remove Pango types from defs -- they are now defined in
libpango.
Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org> Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org>
* gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/ * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/

View File

@ -1,3 +1,18 @@
2001-07-02 James Henstridge <james@daa.com.au>
* gtk/gtktextview.c (gtk_text_view_class_init): same here for
PANGO_TYPE_TAB_ARRAY.
* gtk/gtktexttag.c (gtk_text_tag_class_init): same here, but also
for PANGO_TYPE_TAB_ARRAY.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
s/GTK_TYPE_PANGO_FONT_DESCRIPTION/PANGO_TYPE_FONT_DESCRIPTION/
* gtk/gtk-boxed.defs: move all the boxed definitions to the top of
the file. Remove Pango types from defs -- they are now defined in
libpango.
Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org> Mon Jul 2 06:35:10 2001 Tim Janik <timj@gtk.org>
* gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/ * gdk/gdkkeys.c (gdk_keymap_class_init): s/signal_newc/signal_new/

View File

@ -27,6 +27,25 @@
gtk_requisition_free gtk_requisition_free
"sizeof(GtkRequisition)") "sizeof(GtkRequisition)")
;; TextView
(define-boxed GtkTextIter
gtk_text_iter_copy
gtk_text_iter_free)
(define-boxed GtkTextAttributes
gtk_text_attributes_ref
gtk_text_attributes_unref)
;; TreeView
(define-boxed GtkTreeIter
gtk_tree_iter_copy
gtk_tree_iter_free)
(define-boxed GtkTreePath
gtk_tree_path_copy
gtk_tree_path_free)
;;; Gdk boxed types ;;; Gdk boxed types
;(define-boxed GdkPoint ;(define-boxed GdkPoint
@ -1289,34 +1308,6 @@
((GtkText text) ((GtkText text)
(uint nchars))) (uint nchars)))
;; TextView
(define-boxed GtkTextIter
gtk_text_iter_copy
gtk_text_iter_free)
(define-boxed GtkTextAttributes
gtk_text_attributes_ref
gtk_text_attributes_unref)
(define-boxed PangoTabArray
pango_tab_array_copy
pango_tab_array_free)
(define-boxed PangoFontDescription
pango_font_description_copy
pango_font_description_free)
;; TreeView
(define-boxed GtkTreeIter
gtk_tree_iter_copy
gtk_tree_iter_free)
(define-boxed GtkTreePath
gtk_tree_path_copy
gtk_tree_path_free)
;; Alignment ;; Alignment
(define-object GtkAlignment (GtkBin)) (define-object GtkAlignment (GtkBin))

View File

@ -217,7 +217,7 @@ gtk_cell_renderer_text_class_init (GtkCellRendererTextClass *class)
g_param_spec_boxed ("font_desc", g_param_spec_boxed ("font_desc",
_("Font"), _("Font"),
_("Font description as a PangoFontDescription struct"), _("Font description as a PangoFontDescription struct"),
GTK_TYPE_PANGO_FONT_DESCRIPTION, PANGO_TYPE_FONT_DESCRIPTION,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));

View File

@ -291,7 +291,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_param_spec_boxed ("font_desc", g_param_spec_boxed ("font_desc",
_("Font"), _("Font"),
_("Font description as a PangoFontDescription struct"), _("Font description as a PangoFontDescription struct"),
GTK_TYPE_PANGO_FONT_DESCRIPTION, PANGO_TYPE_FONT_DESCRIPTION,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));
@ -492,7 +492,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
g_param_spec_boxed ("tabs", g_param_spec_boxed ("tabs",
_("Tabs"), _("Tabs"),
_("Custom tabs for this text"), _("Custom tabs for this text"),
GTK_TYPE_PANGO_TAB_ARRAY, PANGO_TYPE_TAB_ARRAY,
G_PARAM_READABLE | G_PARAM_WRITABLE)); G_PARAM_READABLE | G_PARAM_WRITABLE));
g_object_class_install_property (object_class, g_object_class_install_property (object_class,

View File

@ -608,7 +608,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
g_param_spec_boxed ("tabs", g_param_spec_boxed ("tabs",
_("Tabs"), _("Tabs"),
_("Custom tabs for this text"), _("Custom tabs for this text"),
GTK_TYPE_PANGO_TAB_ARRAY, PANGO_TYPE_TAB_ARRAY,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,