Commit a1b53272 authored by Christian Persch's avatar Christian Persch Committed by Christian Persch

Also move gtk_print_capabilities_get_type() to the new location. Bug

2007-05-01  Christian Persch  <chpe@gnome.org>

	* gtk/gtkprinter.h:
	* gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
	the new location. Bug #390437.

svn path=/trunk/; revision=17751
parent c3d16b27
2007-05-01 Christian Persch <chpe@gnome.org>
* gtk/gtkprinter.h:
* gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
the new location. Bug #390437.
2007-04-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c (settings_update_color_scheme):
......
......@@ -26,12 +26,7 @@
G_BEGIN_DECLS
#define GTK_TYPE_PRINTER (gtk_printer_get_type ())
#define GTK_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER, GtkPrinter))
#define GTK_PRINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINTER, GtkPrinterClass))
#define GTK_IS_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER))
#define GTK_IS_PRINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINTER))
#define GTK_PRINTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINTER, GtkPrinterClass))
#define GTK_TYPE_PRINT_CAPABILITIES (gtk_print_capabilities_get_type ())
/* Note, this type is manually registered with GObject in gtkprinter.c
* If you add any flags, update the registration as well!
......@@ -48,6 +43,15 @@ typedef enum
GTK_PRINT_CAPABILITY_PREVIEW = 1 << 7
} GtkPrintCapabilities;
GType gtk_print_capabilities_get_type (void) G_GNUC_CONST;
#define GTK_TYPE_PRINTER (gtk_printer_get_type ())
#define GTK_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER, GtkPrinter))
#define GTK_PRINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINTER, GtkPrinterClass))
#define GTK_IS_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER))
#define GTK_IS_PRINTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINTER))
#define GTK_PRINTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINTER, GtkPrinterClass))
typedef struct _GtkPrinter GtkPrinter;
typedef struct _GtkPrinterClass GtkPrinterClass;
typedef struct _GtkPrinterPrivate GtkPrinterPrivate;
......
......@@ -102,8 +102,6 @@ void gtk_print_job_send (GtkPrintJob
gpointer user_data,
GDestroyNotify dnotify);
GType gtk_print_capabilities_get_type (void) G_GNUC_CONST;
G_END_DECLS
#endif /* __GTK_PRINT_JOB_H__ */
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