From 84f77bf975efd2c997f5dd02e2b1a3d5fc5e8fd3 Mon Sep 17 00:00:00 2001 From: krion Date: Mon, 23 Aug 2004 19:12:54 +0000 Subject: Fix build with gcc-3.4 PR: ports/70871 Submitted by: Ports Fury --- print/gfontview/files/patch-dialogs.C | 11 +++++++++++ print/gfontview/files/patch-gfont.C | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 print/gfontview/files/patch-dialogs.C create mode 100644 print/gfontview/files/patch-gfont.C (limited to 'print/gfontview') diff --git a/print/gfontview/files/patch-dialogs.C b/print/gfontview/files/patch-dialogs.C new file mode 100644 index 000000000000..61d4d4943f46 --- /dev/null +++ b/print/gfontview/files/patch-dialogs.C @@ -0,0 +1,11 @@ +--- dialogs.C.orig Mon Mar 19 02:03:00 2001 ++++ dialogs.C Sun Aug 22 21:18:13 2004 +@@ -1327,7 +1327,7 @@ + /* Entry field is DnD target */ + gtk_drag_dest_set(prtdiag->fileentry, GTK_DEST_DEFAULT_ALL, + dnd_target_table, dnd_targets-1, +- (enum GdkDragAction)(GDK_ACTION_COPY | GDK_ACTION_MOVE)); ++ (GdkDragAction)(GDK_ACTION_COPY | GDK_ACTION_MOVE)); + gtk_signal_connect(GTK_OBJECT(prtdiag->fileentry), "drag_data_received", + GTK_SIGNAL_FUNC(combo_drag_data_received), NULL); + diff --git a/print/gfontview/files/patch-gfont.C b/print/gfontview/files/patch-gfont.C new file mode 100644 index 000000000000..5e13e0d845d2 --- /dev/null +++ b/print/gfontview/files/patch-gfont.C @@ -0,0 +1,11 @@ +--- gfont.C.orig Tue Mar 20 06:04:14 2001 ++++ gfont.C Sun Aug 22 21:17:36 2004 +@@ -1103,7 +1103,7 @@ + // Entry field of the combo box is DnD target + gtk_drag_dest_set(entry, GTK_DEST_DEFAULT_ALL, + dnd_target_table, dnd_targets-1, +- (enum GdkDragAction)(GDK_ACTION_COPY | GDK_ACTION_MOVE)); ++ (GdkDragAction)(GDK_ACTION_COPY | GDK_ACTION_MOVE)); + gtk_signal_connect(GTK_OBJECT(entry), "drag_data_received", + GTK_SIGNAL_FUNC(combo_drag_data_received), NULL); + -- cgit