invoke maketypes.awk with LC_ALL=C to avoid localization misbehaviour.

Thu Oct 26 02:10:32 2000  Tim Janik  <timj@gtk.org>

        * gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
        localization misbehaviour.

        * gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's
        a useless type without copy/free.

        * gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead
        of GTK_TYPE_CTREE_NODE.
This commit is contained in:
Tim Janik 2000-10-26 00:11:09 +00:00 committed by Tim Janik
parent 49631b2900
commit aaee910027
10 changed files with 86 additions and 11 deletions

View File

@ -1,3 +1,14 @@
Thu Oct 26 02:10:32 2000 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
localization misbehaviour.
* gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's
a useless type without copy/free.
* gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead
of GTK_TYPE_CTREE_NODE.
Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org> Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: * gtk/gtksignal.c:

View File

@ -1,3 +1,14 @@
Thu Oct 26 02:10:32 2000 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
localization misbehaviour.
* gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's
a useless type without copy/free.
* gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead
of GTK_TYPE_CTREE_NODE.
Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org> Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: * gtk/gtksignal.c:

View File

@ -1,3 +1,14 @@
Thu Oct 26 02:10:32 2000 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
localization misbehaviour.
* gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's
a useless type without copy/free.
* gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead
of GTK_TYPE_CTREE_NODE.
Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org> Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: * gtk/gtksignal.c:

View File

@ -1,3 +1,14 @@
Thu Oct 26 02:10:32 2000 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
localization misbehaviour.
* gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's
a useless type without copy/free.
* gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead
of GTK_TYPE_CTREE_NODE.
Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org> Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: * gtk/gtksignal.c:

View File

@ -1,3 +1,14 @@
Thu Oct 26 02:10:32 2000 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
localization misbehaviour.
* gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's
a useless type without copy/free.
* gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead
of GTK_TYPE_CTREE_NODE.
Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org> Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: * gtk/gtksignal.c:

View File

@ -1,3 +1,14 @@
Thu Oct 26 02:10:32 2000 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
localization misbehaviour.
* gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's
a useless type without copy/free.
* gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead
of GTK_TYPE_CTREE_NODE.
Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org> Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: * gtk/gtksignal.c:

View File

@ -1,3 +1,14 @@
Thu Oct 26 02:10:32 2000 Tim Janik <timj@gtk.org>
* gtk/Makefile.am: invoke maketypes.awk with LC_ALL=C to avoid
localization misbehaviour.
* gtk/gtk-boxed.defs: nuked "boxed" type GtkCTreeNode, since it's
a useless type without copy/free.
* gtk/gtkctree.c (gtk_ctree_class_init): use GTK_TYPE_POINTER instead
of GTK_TYPE_CTREE_NODE.
Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org> Thu Oct 26 00:51:52 2000 Tim Janik <timj@gtk.org>
* gtk/gtksignal.c: * gtk/gtksignal.c:

View File

@ -495,18 +495,18 @@ $(srcdir)/gtkmarshal.c $(srcdir)/stamp-gtkmarshal.h: @REBUILD@ gtkmarshal.list g
&& echo timestamp > stamp-gtkmarshal.h && echo timestamp > stamp-gtkmarshal.h
$(srcdir)/stamp-gtktypebuiltins.h: @REBUILD@ maketypes.awk stamp-gtk.defs gtktypebuiltins.h $(srcdir)/stamp-gtktypebuiltins.h: @REBUILD@ maketypes.awk stamp-gtk.defs gtktypebuiltins.h
cd $(srcdir) \ cd $(srcdir) \
&& $(AWK) -f maketypes.awk gtk.defs macros > xgen-gtbh \ && LC_ALL=C $(AWK) -f maketypes.awk gtk.defs macros > xgen-gtbh \
&& (cmp -s xgen-gtbh gtktypebuiltins.h || cp xgen-gtbh gtktypebuiltins.h) \ && (cmp -s xgen-gtbh gtktypebuiltins.h || cp xgen-gtbh gtktypebuiltins.h) \
&& rm -f xgen-gtbh \ && rm -f xgen-gtbh \
&& echo timestamp > $(@F) && echo timestamp > $(@F)
$(srcdir)/gtktypebuiltins_vars.c: @REBUILD@ maketypes.awk stamp-gtk.defs $(srcdir)/gtktypebuiltins_vars.c: @REBUILD@ maketypes.awk stamp-gtk.defs
cd $(srcdir) \ cd $(srcdir) \
&& $(AWK) -f maketypes.awk gtk.defs variables > xgen-gtbvc \ && LC_ALL=C $(AWK) -f maketypes.awk gtk.defs variables > xgen-gtbvc \
&& cp xgen-gtbvc $(@F) \ && cp xgen-gtbvc $(@F) \
&& rm -f xgen-gtbvc && rm -f xgen-gtbvc
$(srcdir)/gtktypebuiltins_ids.c: @REBUILD@ maketypes.awk stamp-gtk.defs $(srcdir)/gtktypebuiltins_ids.c: @REBUILD@ maketypes.awk stamp-gtk.defs
cd $(srcdir) \ cd $(srcdir) \
&& $(AWK) -f maketypes.awk gtk.defs entries > xgen-gtbic \ && LC_ALL=C $(AWK) -f maketypes.awk gtk.defs entries > xgen-gtbic \
&& cp xgen-gtbic $(@F) \ && cp xgen-gtbic $(@F) \
&& rm -f xgen-gtbic && rm -f xgen-gtbic
$(srcdir)/gtktypebuiltins_evals.c: @REBUILD@ makeenums.pl $(gtk_public_h_sources) $(gdk_headers) $(srcdir)/gtktypebuiltins_evals.c: @REBUILD@ makeenums.pl $(gtk_public_h_sources) $(gdk_headers)

View File

@ -17,8 +17,6 @@
gtk_selection_data_copy gtk_selection_data_copy
gtk_selection_data_free) gtk_selection_data_free)
(define-boxed GtkCTreeNode
)
;;; Gdk boxed types ;;; Gdk boxed types

View File

@ -392,36 +392,36 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
GTK_CLASS_TYPE (object_class), GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_select_row), GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_select_row),
gtk_marshal_VOID__POINTER_INT, gtk_marshal_VOID__POINTER_INT,
GTK_TYPE_NONE, 2, GTK_TYPE_CTREE_NODE, GTK_TYPE_INT); GTK_TYPE_NONE, 2, GTK_TYPE_POINTER, GTK_TYPE_INT);
ctree_signals[TREE_UNSELECT_ROW] = ctree_signals[TREE_UNSELECT_ROW] =
gtk_signal_new ("tree_unselect_row", gtk_signal_new ("tree_unselect_row",
GTK_RUN_FIRST, GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class), GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_unselect_row), GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_unselect_row),
gtk_marshal_VOID__POINTER_INT, gtk_marshal_VOID__POINTER_INT,
GTK_TYPE_NONE, 2, GTK_TYPE_CTREE_NODE, GTK_TYPE_INT); GTK_TYPE_NONE, 2, GTK_TYPE_POINTER, GTK_TYPE_INT);
ctree_signals[TREE_EXPAND] = ctree_signals[TREE_EXPAND] =
gtk_signal_new ("tree_expand", gtk_signal_new ("tree_expand",
GTK_RUN_LAST, GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class), GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_expand), GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_expand),
gtk_marshal_VOID__POINTER, gtk_marshal_VOID__POINTER,
GTK_TYPE_NONE, 1, GTK_TYPE_CTREE_NODE); GTK_TYPE_NONE, 1, GTK_TYPE_POINTER);
ctree_signals[TREE_COLLAPSE] = ctree_signals[TREE_COLLAPSE] =
gtk_signal_new ("tree_collapse", gtk_signal_new ("tree_collapse",
GTK_RUN_LAST, GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class), GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_collapse), GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_collapse),
gtk_marshal_VOID__POINTER, gtk_marshal_VOID__POINTER,
GTK_TYPE_NONE, 1, GTK_TYPE_CTREE_NODE); GTK_TYPE_NONE, 1, GTK_TYPE_POINTER);
ctree_signals[TREE_MOVE] = ctree_signals[TREE_MOVE] =
gtk_signal_new ("tree_move", gtk_signal_new ("tree_move",
GTK_RUN_LAST, GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class), GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_move), GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_move),
gtk_marshal_VOID__POINTER_POINTER_POINTER, gtk_marshal_VOID__POINTER_POINTER_POINTER,
GTK_TYPE_NONE, 3, GTK_TYPE_CTREE_NODE, GTK_TYPE_NONE, 3, GTK_TYPE_POINTER,
GTK_TYPE_CTREE_NODE, GTK_TYPE_CTREE_NODE); GTK_TYPE_POINTER, GTK_TYPE_POINTER);
ctree_signals[CHANGE_FOCUS_ROW_EXPANSION] = ctree_signals[CHANGE_FOCUS_ROW_EXPANSION] =
gtk_signal_new ("change_focus_row_expansion", gtk_signal_new ("change_focus_row_expansion",
GTK_RUN_LAST | GTK_RUN_ACTION, GTK_RUN_LAST | GTK_RUN_ACTION,