/[svn]/gigedit/trunk/src/gigedit/compat.h
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/compat.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3449 by schoenebeck, Wed Nov 15 16:01:48 2017 UTC revision 3450 by schoenebeck, Wed Jan 2 16:39:20 2019 UTC
# Line 61  Line 61 
61  // Gtk::UIManager had been replaced by Gtk::Builder in GTKMM 3 and removed in GTKMM 4  // Gtk::UIManager had been replaced by Gtk::Builder in GTKMM 3 and removed in GTKMM 4
62  // Gtk::ActionGroup had been replaced by Gio::ActionGroup in GTKMM 3 and removed in GTKMM 4  // Gtk::ActionGroup had been replaced by Gio::ActionGroup in GTKMM 3 and removed in GTKMM 4
63  #if !defined(USE_GTKMM_BUILDER) || !defined(USE_GLIB_ACTION) // gtkmm > 3.22 :  #if !defined(USE_GTKMM_BUILDER) || !defined(USE_GLIB_ACTION) // gtkmm > 3.22 :
64  # if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22)  # if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24)
65  #  define USE_GTKMM_BUILDER 1  #  define USE_GTKMM_BUILDER 1
66  #  define USE_GLIB_ACTION 1  #  define USE_GLIB_ACTION 1
67  # else  # else
# Line 79  Line 79 
79  #endif  #endif
80    
81  #ifndef HAS_GTKMM_CPP11_ENUMS // gtkmm > 3.22  #ifndef HAS_GTKMM_CPP11_ENUMS // gtkmm > 3.22
82  # if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22)  # if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24)
83  #  define HAS_GTKMM_CPP11_ENUMS 1  #  define HAS_GTKMM_CPP11_ENUMS 1
84  # else  # else
85  #  define HAS_GTKMM_CPP11_ENUMS 0  #  define HAS_GTKMM_CPP11_ENUMS 0
# Line 88  Line 88 
88    
89  // alignment.h had been removed in GTKMM 4  // alignment.h had been removed in GTKMM 4
90  #ifndef HAS_GTKMM_ALIGNMENT // gtkmm > 3.22 :  #ifndef HAS_GTKMM_ALIGNMENT // gtkmm > 3.22 :
91  # if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22)  # if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24)
92  #  define HAS_GTKMM_ALIGNMENT 0  #  define HAS_GTKMM_ALIGNMENT 0
93  # else  # else
94  #  define HAS_GTKMM_ALIGNMENT 1  #  define HAS_GTKMM_ALIGNMENT 1
# Line 99  Line 99 
99  // stock.h had been removed in GTKMM 4  // stock.h had been removed in GTKMM 4
100  // Gtk::VBox, Gtk::HBox and Gtk::HButtonBox had been replaced by Gtk::Box in GTKMM 3 and removed in GTKMM 4  // Gtk::VBox, Gtk::HBox and Gtk::HButtonBox had been replaced by Gtk::Box in GTKMM 3 and removed in GTKMM 4
101  #if !defined(USE_GTKMM_GRID) || !defined(HAS_GTKMM_STOCK) || !defined(USE_GTKMM_BOX) || !defined(USE_GTKMM_PANED) // gtkmm > 3.22 :  #if !defined(USE_GTKMM_GRID) || !defined(HAS_GTKMM_STOCK) || !defined(USE_GTKMM_BOX) || !defined(USE_GTKMM_PANED) // gtkmm > 3.22 :
102  # if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22)  # if GTKMM_MAJOR_VERSION > 3 || (GTKMM_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24)
103  #  define USE_GTKMM_GRID 1  #  define USE_GTKMM_GRID 1
104  #  define HAS_GTKMM_STOCK 0  #  define HAS_GTKMM_STOCK 0
105  #  define USE_GTKMM_BOX 1  #  define USE_GTKMM_BOX 1

Legend:
Removed from v.3449  
changed lines
  Added in v.3450

  ViewVC Help
Powered by ViewVC