Commit 8935dc09 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Register create_custom_widget as an object-returning signal. (#344505,

2006-06-10  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkprintoperation.c: Register create_custom_widget as
        an object-returning signal.  (#344505, Marko Anastasov, patch
        by Christian Persch)

        * gtk/gtkmarshalers.list: Add the right marshaller.
parent 4e61a852
2006-06-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c: Register create_custom_widget as
an object-returning signal. (#344505, Marko Anastasov, patch
by Christian Persch)
* gtk/gtkmarshalers.list: Add the right marshaller.
* gtk/gtk.symbols:
* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
flags type. (#344504, Marko Anastasov)
......
2006-06-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c: Register create_custom_widget as
an object-returning signal. (#344505, Marko Anastasov, patch
by Christian Persch)
* gtk/gtkmarshalers.list: Add the right marshaller.
* gtk/gtk.symbols:
* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
flags type. (#344504, Marko Anastasov)
......
......@@ -53,7 +53,7 @@ NONE:INT,BOOL
NONE:INT,INT
NONE:NONE
NONE:STRING,INT,POINTER
POINTER:VOID
OBJECT:VOID
STRING:DOUBLE
VOID:DOUBLE
VOID:BOOLEAN
......
......@@ -511,9 +511,9 @@ custom_widget_accumulator (GSignalInvocationHint *ihint,
gboolean continue_emission;
GtkWidget *widget;
widget = g_value_get_pointer (handler_return);
widget = g_value_get_object (handler_return);
if (widget != NULL)
g_value_set_pointer (return_accu, widget);
g_value_set_object (return_accu, widget);
continue_emission = (widget == NULL);
return continue_emission;
......@@ -773,8 +773,8 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintOperationClass, create_custom_widget),
custom_widget_accumulator, NULL,
_gtk_marshal_POINTER__VOID,
G_TYPE_POINTER, 0);
_gtk_marshal_OBJECT__VOID,
G_TYPE_OBJECT, 0);
/**
* GtkPrintOperation::custom-widget-apply:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment