fixed signals with GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an

Fri Mar  9 09:31:55 2001  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
        GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
        not a boxed.
This commit is contained in:
Tim Janik 2001-03-09 14:49:00 +00:00 committed by Tim Janik
parent 44c6799393
commit 587197ff21
14 changed files with 78 additions and 35 deletions

View File

@ -1,3 +1,9 @@
Fri Mar 9 09:31:55 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
not a boxed.
2001-03-09 Alexander Larsson <alexl@redhat.com>
* docs/Changes-2.0.txt:

View File

@ -1,3 +1,9 @@
Fri Mar 9 09:31:55 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
not a boxed.
2001-03-09 Alexander Larsson <alexl@redhat.com>
* docs/Changes-2.0.txt:

View File

@ -1,3 +1,9 @@
Fri Mar 9 09:31:55 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
not a boxed.
2001-03-09 Alexander Larsson <alexl@redhat.com>
* docs/Changes-2.0.txt:

View File

@ -1,3 +1,9 @@
Fri Mar 9 09:31:55 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
not a boxed.
2001-03-09 Alexander Larsson <alexl@redhat.com>
* docs/Changes-2.0.txt:

View File

@ -1,3 +1,9 @@
Fri Mar 9 09:31:55 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
not a boxed.
2001-03-09 Alexander Larsson <alexl@redhat.com>
* docs/Changes-2.0.txt:

View File

@ -1,3 +1,9 @@
Fri Mar 9 09:31:55 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
not a boxed.
2001-03-09 Alexander Larsson <alexl@redhat.com>
* docs/Changes-2.0.txt:

View File

@ -1,3 +1,9 @@
Fri Mar 9 09:31:55 2001 Tim Janik <timj@gtk.org>
* gtk/gtkwidget.c (gtk_widget_class_init): fixed signals with
GDK_TYPE_DRAG_CONTEXT, it needs to be marshaled as an object,
not a boxed.
2001-03-09 Alexander Larsson <alexl@redhat.com>
* docs/Changes-2.0.txt:

View File

@ -201,6 +201,7 @@ redrawn.
@window: the window which received the event.
@send_event: TRUE if the event was sent explicitly (e.g. using XSendEvent).
@area: the area that needs to be redrawn.
@region:
@count: the number of contiguous %GDK_EXPOSE events following this one.
The only use for this is "exposure compression", i.e. handling all contiguous
%GDK_EXPOSE events in one go, though GDK performs some exposure compression

View File

@ -1077,6 +1077,22 @@ a gtk_object_unref().
@line: line number (used within macros).
@do_ref: whether to reference or unreference.
<!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
<para>
</para>
@tree_model:
@iter:
<!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
<para>
</para>
@tree_model:
@iter:
<!-- ##### FUNCTION gtk_type_check_class_cast ##### -->
<para>
Given a GtkTypeClass pointer @klass, and a GtkType @cast_type, make

View File

@ -67,8 +67,8 @@ gtktreemodel
@iter_n_children:
@iter_nth_child:
@iter_parent:
@ref_iter:
@unref_iter:
@ref_node:
@unref_node:
<!-- ##### ENUM GtkTreeModelFlags ##### -->
<para>
@ -349,21 +349,3 @@ gtktreemodel
@Returns:
<!-- ##### FUNCTION gtk_tree_model_ref_iter ##### -->
<para>
</para>
@tree_model:
@iter:
<!-- ##### FUNCTION gtk_tree_model_unref_iter ##### -->
<para>
</para>
@tree_model:
@iter:

View File

@ -446,7 +446,7 @@ gtk_box_set_spacing (GtkBox *box,
gint
gtk_box_get_spacing (GtkBox *box)
{
g_return_if_fail (GTK_IS_BOX (box));
g_return_val_if_fail (GTK_IS_BOX (box), 0);
return box->spacing;
}

View File

@ -22,7 +22,7 @@
# BOOL deprecated alias for BOOLEAN
BOOLEAN:BOXED
BOOLEAN:BOXED,INT,INT,UINT
BOOLEAN:OBJECT,INT,INT,UINT
BOOLEAN:OBJECT,STRING,STRING,BOXED
BOOLEAN:VOID
ENUM:ENUM
@ -37,8 +37,6 @@ NONE:STRING,INT,POINTER
VOID:BOOLEAN
VOID:BOXED
VOID:BOXED,BOXED
VOID:BOXED,BOXED,UINT,UINT
VOID:BOXED,INT,INT,BOXED,UINT,UINT
VOID:BOXED,OBJECT
VOID:BOXED,STRING,INT
VOID:BOXED,UINT
@ -56,9 +54,12 @@ VOID:INT,INT,INT
VOID:OBJECT
VOID:OBJECT,BOOLEAN
VOID:OBJECT,BOXED,BOXED
VOID:OBJECT,BOXED,UINT,UINT
VOID:OBJECT,INT,INT
VOID:OBJECT,INT,INT,BOXED,UINT,UINT
VOID:OBJECT,OBJECT
VOID:OBJECT,STRING,STRING
VOID:OBJECT,UINT
VOID:POINTER
VOID:POINTER,INT
VOID:POINTER,POINTER,POINTER

View File

@ -22,7 +22,7 @@
# BOOL deprecated alias for BOOLEAN
BOOLEAN:BOXED
BOOLEAN:BOXED,INT,INT,UINT
BOOLEAN:OBJECT,INT,INT,UINT
BOOLEAN:OBJECT,STRING,STRING,BOXED
BOOLEAN:VOID
ENUM:ENUM
@ -37,8 +37,6 @@ NONE:STRING,INT,POINTER
VOID:BOOLEAN
VOID:BOXED
VOID:BOXED,BOXED
VOID:BOXED,BOXED,UINT,UINT
VOID:BOXED,INT,INT,BOXED,UINT,UINT
VOID:BOXED,OBJECT
VOID:BOXED,STRING,INT
VOID:BOXED,UINT
@ -56,9 +54,12 @@ VOID:INT,INT,INT
VOID:OBJECT
VOID:OBJECT,BOOLEAN
VOID:OBJECT,BOXED,BOXED
VOID:OBJECT,BOXED,UINT,UINT
VOID:OBJECT,INT,INT
VOID:OBJECT,INT,INT,BOXED,UINT,UINT
VOID:OBJECT,OBJECT
VOID:OBJECT,STRING,STRING
VOID:OBJECT,UINT
VOID:POINTER
VOID:POINTER,INT
VOID:POINTER,POINTER,POINTER

View File

@ -669,7 +669,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkWidgetClass, drag_leave),
gtk_marshal_VOID__BOXED_UINT,
gtk_marshal_VOID__OBJECT_UINT,
GTK_TYPE_NONE, 2,
GDK_TYPE_DRAG_CONTEXT,
GTK_TYPE_UINT);
@ -678,7 +678,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkWidgetClass, drag_begin),
gtk_marshal_VOID__BOXED,
gtk_marshal_VOID__OBJECT,
GTK_TYPE_NONE, 1,
GDK_TYPE_DRAG_CONTEXT);
widget_signals[DRAG_END] =
@ -686,7 +686,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkWidgetClass, drag_end),
gtk_marshal_VOID__BOXED,
gtk_marshal_VOID__OBJECT,
GTK_TYPE_NONE, 1,
GDK_TYPE_DRAG_CONTEXT);
widget_signals[DRAG_DATA_DELETE] =
@ -694,7 +694,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkWidgetClass, drag_data_delete),
gtk_marshal_VOID__BOXED,
gtk_marshal_VOID__OBJECT,
GTK_TYPE_NONE, 1,
GDK_TYPE_DRAG_CONTEXT);
widget_signals[DRAG_MOTION] =
@ -702,7 +702,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkWidgetClass, drag_motion),
gtk_marshal_BOOLEAN__BOXED_INT_INT_UINT,
gtk_marshal_BOOLEAN__OBJECT_INT_INT_UINT,
GTK_TYPE_BOOL, 4,
GDK_TYPE_DRAG_CONTEXT,
GTK_TYPE_INT,
@ -713,7 +713,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkWidgetClass, drag_drop),
gtk_marshal_BOOLEAN__BOXED_INT_INT_UINT,
gtk_marshal_BOOLEAN__OBJECT_INT_INT_UINT,
GTK_TYPE_BOOL, 4,
GDK_TYPE_DRAG_CONTEXT,
GTK_TYPE_INT,
@ -724,7 +724,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkWidgetClass, drag_data_get),
gtk_marshal_VOID__BOXED_BOXED_UINT_UINT,
gtk_marshal_VOID__OBJECT_BOXED_UINT_UINT,
GTK_TYPE_NONE, 4,
GDK_TYPE_DRAG_CONTEXT,
GTK_TYPE_SELECTION_DATA,
@ -735,7 +735,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
GTK_RUN_LAST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkWidgetClass, drag_data_received),
gtk_marshal_VOID__BOXED_INT_INT_BOXED_UINT_UINT,
gtk_marshal_VOID__OBJECT_INT_INT_BOXED_UINT_UINT,
GTK_TYPE_NONE, 6,
GDK_TYPE_DRAG_CONTEXT,
GTK_TYPE_INT,