[gtkmm/gtkmm-2-22] Item: Fix the build now that the functions are deprecated.



commit a1e216cad722aa30c58839b8de36e0edcdf99de3
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Sep 10 16:38:23 2010 +0200

    Item: Fix the build now that the functions are deprecated.
    
    	* gtk/src/item.hg: Make an undef appear at the top of the generated .cc file.

 ChangeLog            |    6 ++++
 gtk/src/item.hg      |    8 +++--
 gtk/src/progress.ccg |   26 ------------------
 gtk/src/progress.hg  |   70 --------------------------------------------------
 4 files changed, 11 insertions(+), 99 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index deb7f77..107833d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-10  Murray Cumming  <murrayc murrayc com>>
+
+	Item: Fix the build now that the functions are deprecated.
+
+	* gtk/src/item.hg: Make an undef appear at the top of the generated .cc file.
+
 2010-09-10  Murray Cumming  <murrayc murrayc com>
 
 	Button: Remove the construct-only use-underline property.
diff --git a/gtk/src/item.hg b/gtk/src/item.hg
index 8557038..ab49d55 100644
--- a/gtk/src/item.hg
+++ b/gtk/src/item.hg
@@ -1,7 +1,7 @@
 /* $Id: item.hg,v 1.1 2003/01/21 13:40:28 murrayc Exp $ */
 
 /* item.h
- * 
+ *
  * Copyright (C) 1998-2002 The gtkmm Development Team
  *
  * This library is free software; you can redistribute it and/or
@@ -23,6 +23,9 @@
 _DEFS(gtkmm,gtk)
 _PINCLUDE(gtkmm/private/bin_p.h)
 
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+#undef GTK_DISABLE_DEPRECATED
+#m4 _POP()
 
 namespace Gtk
 {
@@ -38,7 +41,7 @@ class Item : public Bin
   _CLASS_GTKOBJECT(Item,GtkItem,GTK_ITEM,Gtk::Bin,GtkBin)
 public:
 
-  
+
 
   _WRAP_METHOD(void select(), gtk_item_select)
   _WRAP_SIGNAL(void select(), "select")
@@ -54,4 +57,3 @@ protected:
 };
 
 } /* namespace Gtk */
-



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