summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-11-04 19:57:17 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-11-04 19:57:17 +0000
commitee0ebf46ab061c7213a988a82ecae5b226c3a930 (patch)
treecde6e98db10ce472728eb5a535540f9cdc8970fb
parentd36c54b4a8fc21f8196b06a9eef0570bbf2bf6fe (diff)
downloadgdk-pixbuf-ee0ebf46ab061c7213a988a82ecae5b226c3a930.tar.gz
Convert GTK_TYPE_CTREE_NODE to pointer derivation instead of boxed
Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer derivation instead of boxed derivation. * gtk/gtkmarshal.list: Remove some now unused marshallers.
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-2-07
-rw-r--r--ChangeLog.pre-2-107
-rw-r--r--ChangeLog.pre-2-27
-rw-r--r--ChangeLog.pre-2-47
-rw-r--r--ChangeLog.pre-2-67
-rw-r--r--ChangeLog.pre-2-87
-rw-r--r--gtk/gtkctree.c43
-rw-r--r--gtk/gtkmarshal.list2
-rw-r--r--gtk/gtkmarshalers.list2
10 files changed, 62 insertions, 34 deletions
diff --git a/ChangeLog b/ChangeLog
index e43b75f47..42fd8e92f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
+ derivation instead of boxed derivation.
+
+ * gtk/gtkmarshal.list: Remove some now unused marshallers.
+
2001-11-04 Tor Lillqvist <tml@iki.fi>
* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index e43b75f47..42fd8e92f 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,10 @@
+Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
+ derivation instead of boxed derivation.
+
+ * gtk/gtkmarshal.list: Remove some now unused marshallers.
+
2001-11-04 Tor Lillqvist <tml@iki.fi>
* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index e43b75f47..42fd8e92f 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,10 @@
+Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
+ derivation instead of boxed derivation.
+
+ * gtk/gtkmarshal.list: Remove some now unused marshallers.
+
2001-11-04 Tor Lillqvist <tml@iki.fi>
* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index e43b75f47..42fd8e92f 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,10 @@
+Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
+ derivation instead of boxed derivation.
+
+ * gtk/gtkmarshal.list: Remove some now unused marshallers.
+
2001-11-04 Tor Lillqvist <tml@iki.fi>
* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index e43b75f47..42fd8e92f 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,10 @@
+Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
+ derivation instead of boxed derivation.
+
+ * gtk/gtkmarshal.list: Remove some now unused marshallers.
+
2001-11-04 Tor Lillqvist <tml@iki.fi>
* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index e43b75f47..42fd8e92f 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,10 @@
+Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
+ derivation instead of boxed derivation.
+
+ * gtk/gtkmarshal.list: Remove some now unused marshallers.
+
2001-11-04 Tor Lillqvist <tml@iki.fi>
* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index e43b75f47..42fd8e92f 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,10 @@
+Sat Nov 3 13:57:21 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
+ derivation instead of boxed derivation.
+
+ * gtk/gtkmarshal.list: Remove some now unused marshallers.
+
2001-11-04 Tor Lillqvist <tml@iki.fi>
* gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
diff --git a/gtk/gtkctree.c b/gtk/gtkctree.c
index 2ca063185..a52175d5f 100644
--- a/gtk/gtkctree.c
+++ b/gtk/gtkctree.c
@@ -432,45 +432,45 @@ gtk_ctree_class_init (GtkCTreeClass *klass)
GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_select_row),
- gtk_marshal_VOID__BOXED_INT,
+ gtk_marshal_VOID__POINTER_INT,
GTK_TYPE_NONE, 2,
- GTK_TYPE_CTREE_NODE | G_SIGNAL_TYPE_STATIC_SCOPE,
+ GTK_TYPE_CTREE_NODE,
GTK_TYPE_INT);
ctree_signals[TREE_UNSELECT_ROW] =
gtk_signal_new ("tree_unselect_row",
GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_unselect_row),
- gtk_marshal_VOID__BOXED_INT,
+ gtk_marshal_VOID__POINTER_INT,
GTK_TYPE_NONE, 2,
- GTK_TYPE_CTREE_NODE | G_SIGNAL_TYPE_STATIC_SCOPE,
+ GTK_TYPE_CTREE_NODE,
GTK_TYPE_INT);
ctree_signals[TREE_EXPAND] =
gtk_signal_new ("tree_expand",
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_expand),
- gtk_marshal_VOID__BOXED,
+ gtk_marshal_VOID__POINTER,
GTK_TYPE_NONE, 1,
- GTK_TYPE_CTREE_NODE | G_SIGNAL_TYPE_STATIC_SCOPE);
+ GTK_TYPE_CTREE_NODE);
ctree_signals[TREE_COLLAPSE] =
gtk_signal_new ("tree_collapse",
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_collapse),
- gtk_marshal_VOID__BOXED,
+ gtk_marshal_VOID__POINTER,
GTK_TYPE_NONE, 1,
- GTK_TYPE_CTREE_NODE | G_SIGNAL_TYPE_STATIC_SCOPE);
+ GTK_TYPE_CTREE_NODE);
ctree_signals[TREE_MOVE] =
gtk_signal_new ("tree_move",
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkCTreeClass, tree_move),
- gtk_marshal_VOID__BOXED_BOXED_BOXED,
+ gtk_marshal_VOID__POINTER_POINTER_POINTER,
GTK_TYPE_NONE, 3,
- GTK_TYPE_CTREE_NODE | G_SIGNAL_TYPE_STATIC_SCOPE,
- GTK_TYPE_CTREE_NODE | G_SIGNAL_TYPE_STATIC_SCOPE,
- GTK_TYPE_CTREE_NODE | G_SIGNAL_TYPE_STATIC_SCOPE);
+ GTK_TYPE_CTREE_NODE,
+ GTK_TYPE_CTREE_NODE,
+ GTK_TYPE_CTREE_NODE);
ctree_signals[CHANGE_FOCUS_ROW_EXPANSION] =
gtk_signal_new ("change_focus_row_expansion",
GTK_RUN_LAST | GTK_RUN_ACTION,
@@ -6126,30 +6126,13 @@ gtk_ctree_drag_data_received (GtkWidget *widget,
}
}
-/* dummy boxed type definition, used so that the GtkCTreeNode signal
- * arguments have a reasonable type.
- */
-static gpointer
-ctree_node_copy (gpointer boxed)
-{
- return boxed;
-}
-
-static void
-ctree_node_free (gpointer boxed)
-{
- /* nothing */
-}
-
GType
gtk_ctree_node_get_type (void)
{
static GType our_type = 0;
if (our_type == 0)
- our_type = g_boxed_type_register_static ("GtkCTreeNode",
- (GBoxedCopyFunc)ctree_node_copy,
- (GBoxedFreeFunc)ctree_node_free);
+ our_type = g_pointer_type_register_static ("GtkCTreeNode");
return our_type;
}
diff --git a/gtk/gtkmarshal.list b/gtk/gtkmarshal.list
index 84b23e024..e49173255 100644
--- a/gtk/gtkmarshal.list
+++ b/gtk/gtkmarshal.list
@@ -44,12 +44,10 @@ VOID:BOOLEAN
VOID:BOOLEAN,BOOLEAN,BOOLEAN
VOID:BOXED
VOID:BOXED,BOXED
-VOID:BOXED,BOXED,BOXED
VOID:BOXED,BOXED,POINTER
VOID:BOXED,POINTER
VOID:BOXED,OBJECT
VOID:BOXED,STRING,INT
-VOID:BOXED,INT
VOID:BOXED,UINT
VOID:BOXED,UINT,FLAGS
VOID:BOXED,UINT,UINT
diff --git a/gtk/gtkmarshalers.list b/gtk/gtkmarshalers.list
index 84b23e024..e49173255 100644
--- a/gtk/gtkmarshalers.list
+++ b/gtk/gtkmarshalers.list
@@ -44,12 +44,10 @@ VOID:BOOLEAN
VOID:BOOLEAN,BOOLEAN,BOOLEAN
VOID:BOXED
VOID:BOXED,BOXED
-VOID:BOXED,BOXED,BOXED
VOID:BOXED,BOXED,POINTER
VOID:BOXED,POINTER
VOID:BOXED,OBJECT
VOID:BOXED,STRING,INT
-VOID:BOXED,INT
VOID:BOXED,UINT
VOID:BOXED,UINT,FLAGS
VOID:BOXED,UINT,UINT