[nemiver] Dropped ifdefs for GTK+ 2.10



commit 3684aeaeee2c4248c8f50b53c50dfc8b477beb4e
Author: Kalev Lember <kalevlember gmail com>
Date:   Wed Mar 23 18:44:18 2011 +0200

    Dropped ifdefs for GTK+ 2.10
    
    	The minimum required version of GTK+ is now 2.22
    	* src/persp/dbgperspective/nmv-dbg-perspective.cc
    	(DBGPerspective::init_body, DBGPerspective::append_source_editor):
    	Removed ifdefs to unconditionally use the code that was only used
    	with GTK+ 2.10.

 src/persp/dbgperspective/nmv-dbg-perspective.cc |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index 727af5f..9469293 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -3923,10 +3923,8 @@ DBGPerspective::init_body ()
     m_priv->sourceviews_notebook->remove_page ();
     m_priv->sourceviews_notebook->set_show_tabs ();
     m_priv->sourceviews_notebook->set_scrollable ();
-#if GTK_CHECK_VERSION (2, 10, 0)
     m_priv->sourceviews_notebook->signal_page_reordered ().connect
         (sigc::mem_fun (this, &DBGPerspective::on_notebook_tabs_reordered));
-#endif
 
     m_priv->statuses_notebook =
         ui_utils::get_widget_from_gtkbuilder<Gtk::Notebook> (m_priv->body_builder,
@@ -4182,9 +4180,8 @@ DBGPerspective::append_source_editor (SourceEditor &a_sv,
     int page_num = m_priv->sourceviews_notebook->insert_page (a_sv,
                                                               *hbox,
                                                               -1);
-#if GTK_CHECK_VERSION (2, 10, 0)
     m_priv->sourceviews_notebook->set_tab_reorderable (a_sv);
-#endif
+
     std::string base_name =
                 Glib::path_get_basename (Glib::filename_from_utf8 (path));
     THROW_IF_FAIL (base_name != "");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]