GNOME Bugzilla – Bug 119982
commas at end of enumerator list
Last modified: 2004-12-22 21:47:04 UTC
Abiword fails to compile because gnome-print-dialog.h contains commas at the end of enumerator lists, which is not valid C++.
I can't attach the patch, so I've pasted it below. Sorry. --- libgnomeprintui-2.2.1.3.orig/libgnomeprintui/gnome-print-dialog.h 2003-08-15 13:33:38.000000000 -0700 +++ libgnomeprintui-2.2.1.3/libgnomeprintui/gnome-print-dialog.h 2003-08-15 13:40:12.000000000 -0700 @@ -65,7 +65,7 @@ GNOME_PRINT_RANGE_ALL = (1 << 1), GNOME_PRINT_RANGE_RANGE = (1 << 2), GNOME_PRINT_RANGE_SELECTION = (1 << 3), - GNOME_PRINT_RANGE_SELECTION_UNSENSITIVE = (1 << 4), + GNOME_PRINT_RANGE_SELECTION_UNSENSITIVE = (1 << 4) }; /* @@ -83,7 +83,7 @@ enum GnomePrintButtons { GNOME_PRINT_DIALOG_RESPONSE_PRINT = 1, GNOME_PRINT_DIALOG_RESPONSE_PREVIEW, - GNOME_PRINT_DIALOG_RESPONSE_CANCEL = GTK_RESPONSE_CANCEL, + GNOME_PRINT_DIALOG_RESPONSE_CANCEL = GTK_RESPONSE_CANCEL }; GType gnome_print_dialog_get_type (void);
*** Bug 122191 has been marked as a duplicate of this bug. ***
*** Bug 118850 has been marked as a duplicate of this bug. ***
Murray, feel free to commit.
This seems to have been fixed already, by Jeremy Katz. I checked both branches.