[gnote] Adapt to Gtkmm 3 Gtk::FileFilter



commit 3c0f489ad33bf969a6b7b05e72c140fb440d5fda
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Wed Jun 1 22:56:21 2011 +0300

    Adapt to Gtkmm 3 Gtk::FileFilter

 src/addins/bugzilla/bugzillapreferences.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/bugzilla/bugzillapreferences.cpp b/src/addins/bugzilla/bugzillapreferences.cpp
index 5c24c18..2afa881 100644
--- a/src/addins/bugzilla/bugzillapreferences.cpp
+++ b/src/addins/bugzilla/bugzillapreferences.cpp
@@ -232,8 +232,8 @@ namespace bugzilla {
     dialog.set_local_only(true);
     dialog.set_current_folder (last_opened_dir);
 
-    Gtk::FileFilter filter;
-    filter.add_pixbuf_formats ();
+    Glib::RefPtr<Gtk::FileFilter> filter = Gtk::FileFilter::create();
+    filter->add_pixbuf_formats ();
 
     dialog.add_filter(filter);
 



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