/[svn]/gigedit/trunk/src/gigedit/regionchooser.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/regionchooser.cpp

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

revision 3449 by schoenebeck, Tue Jan 23 16:30:56 2018 UTC revision 3450 by schoenebeck, Wed Jan 2 16:39:20 2019 UTC
# Line 269  RegionChooser::RegionChooser() : Line 269  RegionChooser::RegionChooser() :
269    
270  #endif // USE_GTKMM_BUILDER  #endif // USE_GTKMM_BUILDER
271    
272  #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)
273  # warning GTKMM4 event registration code missing for regionchooser!  # warning GTKMM4 event registration code missing for regionchooser!
274      //add_events(Gdk::EventMask::BUTTON_PRESS_MASK);      //add_events(Gdk::EventMask::BUTTON_PRESS_MASK);
275  #else  #else
# Line 366  bool RegionChooser::on_draw(const Cairo: Line 366  bool RegionChooser::on_draw(const Cairo:
366  #if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2  #if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2
367      const Gdk::Color bg = get_style()->get_bg(Gtk::STATE_NORMAL);      const Gdk::Color bg = get_style()->get_bg(Gtk::STATE_NORMAL);
368  #else  #else
369  #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)
370      GdkRGBA gdkBgRGBA;      GdkRGBA gdkBgRGBA;
371      gtk_style_context_get_background_color(get_style_context()->gobj(), &gdkBgRGBA);      gtk_style_context_get_background_color(get_style_context()->gobj(), &gdkBgRGBA);
372      const Gdk::RGBA bg = Glib::wrap(&gdkBgRGBA, true);      const Gdk::RGBA bg = Glib::wrap(&gdkBgRGBA, true);

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

  ViewVC Help
Powered by ViewVC