From 3f0fb50471fab9bbba5dd282ba539125a168ef83 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 14 Jun 2006 12:58:14 +0000 Subject: [PATCH] Minor space savings --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ gtk/gtkprintjob.h | 7 +++---- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 567dfdfed6..55f2382bd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-06-14 Matthias Clasen + + * gtk/gtkprintjob.h: Collect booleans into a bitfield + (#344765, Christian Persch) + 2006-06-13 Matthias Clasen * configure.in: Bump version diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 567dfdfed6..55f2382bd8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-06-14 Matthias Clasen + + * gtk/gtkprintjob.h: Collect booleans into a bitfield + (#344765, Christian Persch) + 2006-06-13 Matthias Clasen * configure.in: Bump version diff --git a/gtk/gtkprintjob.h b/gtk/gtkprintjob.h index 758fa5387c..5273c856d0 100644 --- a/gtk/gtkprintjob.h +++ b/gtk/gtkprintjob.h @@ -66,13 +66,12 @@ struct _GtkPrintJob GtkPrintPages print_pages; GtkPageRange *page_ranges; gint num_page_ranges; - gboolean rotate_to_orientation; - GtkPageSet page_set; gint num_copies; - gboolean collate; - gboolean reverse; gdouble scale; + guint rotate_to_orientation : 1; + guint collate : 1; + guint reverse : 1; }; struct _GtkPrintJobClass