updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xpp / fltk-1.3_fix.patch
blobdde2660df876a05c1863d01b9a0a06f19c7f600f
1 diff -urN xpp-1.5.old/mainwindow.fl xpp-1.5/mainwindow.fl
2 --- xpp-1.5.old/mainwindow.fl 2011-01-20 15:01:49.000000000 +0300
3 +++ xpp-1.5/mainwindow.fl 2011-01-20 15:02:33.000000000 +0300
4 @@ -70,7 +70,7 @@
5 fileList->value(print->filelist);
6 }}
7 private xywh {440 75 65 25} down_box DOWN_BOX shortcut 0x80062 align 16
8 - code0 {\#include <FL/fl_file_chooser.H>}
9 + code0 {\#include <FL/Fl_File_Chooser.H>}
10 code1 {\#include "xpp.h"}
12 Fl_Scroll printerList {
13 diff -urN xpp-1.5.old/xpp.cxx xpp-1.5/xpp.cxx
14 --- xpp-1.5.old/xpp.cxx 2011-01-20 15:01:49.000000000 +0300
15 +++ xpp-1.5/xpp.cxx 2011-01-20 15:04:24.000000000 +0300
16 @@ -2500,7 +2500,7 @@
17 // Redraw the destination menu in the main window
19 printerPack->parent()->redraw();
20 - printerPack->draw();
21 + ((Fl_Widget*)printerPack)->draw();
25 @@ -2674,7 +2674,8 @@
26 // Redraw the destination menu in the main window
28 printerPack->parent()->redraw();
29 - printerPack->draw();
30 + ((Fl_Widget*)printerPack)->draw();
31 + //printerPack->draw();
33 return(dest_index);
35 diff -urN xpp-1.5.old/xppmain.cxx xpp-1.5/xppmain.cxx
36 --- xpp-1.5.old/xppmain.cxx 2011-01-20 15:01:49.000000000 +0300
37 +++ xpp-1.5/xppmain.cxx 2011-01-20 15:05:17.000000000 +0300
38 @@ -32,7 +32,7 @@
41 #include "mainwindow.h"
42 -#include <Fl/Fl_Shared_Image.h>
43 +#include <FL/Fl_Shared_Image.H>
46 * 'main()' - Do all what xpp should do