[gtkmm] IconTheme: Add back get_for_screen().



commit 71c3b4bc4d98f54ebb1b23b6f4d35d4a35ec50c9
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Jun 13 11:28:02 2010 +0200

    IconTheme: Add back get_for_screen().
    
    * gtk/src/icontheme.hg: Add back get_for_screen() because it does not
    actually seem to be deprecated.

 ChangeLog            |    7 +++++++
 gtk/src/icontheme.hg |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0b2ee43..cbe3fa2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-06-13  Murray Cumming  <murrayc murrayc com>
+
+	IconTheme: Add back get_for_screen().
+
+	* gtk/src/icontheme.hg: Add back get_for_screen() because it does not 
+	actually seem to be deprecated.
+
 2.90.2:
 
 2010-06-10  Murray Cumming  <murrayc murrayc com>
diff --git a/gtk/src/icontheme.hg b/gtk/src/icontheme.hg
index d78e2c9..2da19a7 100644
--- a/gtk/src/icontheme.hg
+++ b/gtk/src/icontheme.hg
@@ -44,8 +44,8 @@ protected:
 public:
   _WRAP_CREATE()
   
-  _IGNORE(gtk_icon_theme_get_for_screen) //deprecated
   _WRAP_METHOD(static Glib::RefPtr<IconTheme> get_default(), gtk_icon_theme_get_default, refreturn)
+  _WRAP_METHOD(static Glib::RefPtr<IconTheme> get_for_screen(const Glib::RefPtr<Gdk::Screen>& screen), gtk_icon_theme_get_for_screen, refreturn)
   _WRAP_METHOD(void set_screen(const Glib::RefPtr<Gdk::Screen>& screen), gtk_icon_theme_set_screen)
   void set_search_path(const Glib::ArrayHandle<Glib::ustring>& path);
   Glib::ArrayHandle<Glib::ustring> get_search_path() const;



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