Commit c8f0d210 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson
Browse files

Declare GtkPrintJob.

2006-04-24  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintjob.h:
	Declare GtkPrintJob.

	* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_settings):
	Change g_return_if_fail to g_return_val_if_fail.
parent 98e12dd9
2006-04-24 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintjob.h:
Declare GtkPrintJob.
* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_settings):
Change g_return_if_fail to g_return_val_if_fail.
2006-04-24 Alexander Larsson <alexl@redhat.com>
* configure.in:
......
2006-04-24 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintjob.h:
Declare GtkPrintJob.
* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_settings):
Change g_return_if_fail to g_return_val_if_fail.
2006-04-24 Alexander Larsson <alexl@redhat.com>
* configure.in:
......
......@@ -35,6 +35,7 @@ G_BEGIN_DECLS
#define GTK_PRINT_JOB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINT_JOB, GtkPrintJobClass))
typedef struct _GtkPrintJob GtkPrintJob;
typedef struct _GtkPrintJobClass GtkPrintJobClass;
typedef struct _GtkPrintJobPrivate GtkPrintJobPrivate;
......
......@@ -2523,7 +2523,7 @@ gtk_print_unix_dialog_get_settings (GtkPrintUnixDialog *dialog)
GtkPageRange *ranges;
int n_ranges;
g_return_if_fail (GTK_IS_PRINT_UNIX_DIALOG (dialog));
g_return_val_if_fail (GTK_IS_PRINT_UNIX_DIALOG (dialog), NULL);
settings = gtk_print_settings_new ();
......
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