add missing flag values

This commit is contained in:
Matthias Clasen 2006-06-22 13:25:25 +00:00
parent e070fdf693
commit 63ba491f40
4 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2006-06-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpintjob.h: Add a note about updating the registration.
* gtk/gtkprintjob.c (gtk_print_capabilites_get_type): Add missing
capabilitites.
* modules/printbackends/cups/gtkprintbackendcups.c: Remove
an unused variable and make it compile with Cups 1.1. (#345644,
Joseph Sacco)

View File

@ -1,5 +1,9 @@
2006-06-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpintjob.h: Add a note about updating the registration.
* gtk/gtkprintjob.c (gtk_print_capabilites_get_type): Add missing
capabilitites.
* modules/printbackends/cups/gtkprintbackendcups.c: Remove
an unused variable and make it compile with Cups 1.1. (#345644,
Joseph Sacco)

View File

@ -693,6 +693,8 @@ gtk_print_capabilities_get_type (void)
{ GTK_PRINT_CAPABILITY_COLLATE, "GTK_PRINT_CAPABILITY_COLLATE", "collate" },
{ GTK_PRINT_CAPABILITY_REVERSE, "GTK_PRINT_CAPABILITY_REVERSE", "reverse" },
{ GTK_PRINT_CAPABILITY_SCALE, "GTK_PRINT_CAPABILITY_SCALE", "scale" },
{ GTK_PRINT_CAPABILITY_GENERATE_PDF, "GTK_PRINT_CAPABILITY_GENERATE_PDF", "generate-pdf" },
{ GTK_PRINT_CAPABILITY_GENERATE_PS, "GTK_PRINT_CAPABILITY_GENERATE_PS", "generate-ps" },
{ 0, NULL, NULL }
};

View File

@ -34,6 +34,9 @@ G_BEGIN_DECLS
#define GTK_IS_PRINT_JOB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINT_JOB))
#define GTK_PRINT_JOB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINT_JOB, GtkPrintJobClass))
/* Note, this type is manually registered with GObject in gtkprintjob.c
* If you add any flags, update the registration as well
*/
typedef enum
{
GTK_PRINT_CAPABILITY_PAGE_SET = 1 << 0,