fix 344891

This commit is contained in:
Matthias Clasen 2006-06-15 04:53:37 +00:00
parent 0799004f58
commit 9c1cb39198
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2006-06-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperationpreview.c
(gtk_print_operation_preview_base_init): Fix errors in the
signal definitions. (#344891, Marko Anastasov)
2006-06-14 Michael Emmel <mike.emmel@gmail.com>
* configure.in: updated mininum dfb to 0.9.24
* gdk/directfb/gdkdirectfb.h: added more directfb wrapper functions

View File

@ -1,3 +1,9 @@
2006-06-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperationpreview.c
(gtk_print_operation_preview_base_init): Fix errors in the
signal definitions. (#344891, Marko Anastasov)
2006-06-14 Michael Emmel <mike.emmel@gmail.com>
* configure.in: updated mininum dfb to 0.9.24
* gdk/directfb/gdkdirectfb.h: added more directfb wrapper functions

View File

@ -72,12 +72,12 @@ gtk_print_operation_preview_base_init (gpointer g_iface)
NULL, NULL,
g_cclosure_marshal_VOID__OBJECT,
G_TYPE_NONE, 1,
G_TYPE_OBJECT);
GTK_TYPE_PRINT_CONTEXT);
g_signal_new (I_("got-page-size"),
GTK_TYPE_PRINT_OPERATION_PREVIEW,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkPrintOperationPreviewIface, ready),
G_STRUCT_OFFSET (GtkPrintOperationPreviewIface, got_page_size),
NULL, NULL,
_gtk_marshal_VOID__OBJECT_OBJECT,
G_TYPE_NONE, 2,
@ -111,7 +111,7 @@ gboolean
gtk_print_operation_preview_is_selected (GtkPrintOperationPreview *preview,
gint page_nr)
{
g_return_if_fail (GTK_IS_PRINT_OPERATION_PREVIEW (preview));
g_return_val_if_fail (GTK_IS_PRINT_OPERATION_PREVIEW (preview), FALSE);
return GTK_PRINT_OPERATION_PREVIEW_GET_IFACE (preview)->is_selected (preview, page_nr);
}