[master] 2a6e9d9 - Fl_X11_System_Driver::probe_for_GTK() is now Fl_Posix_System_Driver::probe_for_GTK()

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 2a6e9d9 - Fl_X11_System_Driver::probe_for_GTK() is now Fl_Posix_System_Driver::probe_for_GTK() "ManoloFLTK" 02:02 Mar 31 top right image
 
commit 2a6e9d9493c37de1972953afe9dfb88a2352bab9
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Mar 31 10:58:03 2021 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Mar 31 10:58:03 2021 +0200

    Fl_X11_System_Driver::probe_for_GTK() is now Fl_Posix_System_Driver::probe_for_GTK()

 src/Fl_Native_File_Chooser_GTK.cxx            | 2 +-
 src/drivers/Posix/Fl_Posix_Printer_Driver.cxx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git src/Fl_Native_File_Chooser_GTK.cxx src/Fl_Native_File_Chooser_GTK.cxx
index 30b2fde..e9decde 100644
--- src/Fl_Native_File_Chooser_GTK.cxx
+++ src/Fl_Native_File_Chooser_GTK.cxx
@@ -879,7 +879,7 @@ return; }
  */
 void Fl_GTK_Native_File_Chooser_Driver::probe_for_GTK_libs(void) {
   void  *ptr_gtk;
-  if ( !Fl_X11_System_Driver::probe_for_GTK(2, 4, &ptr_gtk)) {
+  if ( !Fl_Posix_System_Driver::probe_for_GTK(2, 4, &ptr_gtk)) {
     did_find_GTK_libs = 0;
     return;
   }
diff --git src/drivers/Posix/Fl_Posix_Printer_Driver.cxx src/drivers/Posix/Fl_Posix_Printer_Driver.cxx
index 904c6d3..b93a5ec 100644
--- src/drivers/Posix/Fl_Posix_Printer_Driver.cxx
+++ src/drivers/Posix/Fl_Posix_Printer_Driver.cxx
@@ -98,7 +98,7 @@ void *Fl_GTK_Printer_Driver::ptr_gtk = NULL;
 
 // test wether GTK is available at run-time
 bool Fl_GTK_Printer_Driver::probe_for_GTK() {
-  return Fl_X11_System_Driver::probe_for_GTK(2, 10, &ptr_gtk);
+  return Fl_Posix_System_Driver::probe_for_GTK(2, 10, &ptr_gtk);
 }
 
 
Direct Link to Message ]
 
bottom left image   bottom right image
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.