[glom] Deal with minor TODO



commit 3621f3a8b955051969bf1eef163eb3892871f265
Author: Murray Cumming <murrayc murrayc com>
Date:   Sat Aug 6 23:51:01 2011 +0200

    Deal with minor TODO

 glom/print_layout/canvas_print_layout.cc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/glom/print_layout/canvas_print_layout.cc b/glom/print_layout/canvas_print_layout.cc
index 3b25602..d095f23 100644
--- a/glom/print_layout/canvas_print_layout.cc
+++ b/glom/print_layout/canvas_print_layout.cc
@@ -90,8 +90,7 @@ void Canvas_PrintLayout::set_print_layout(const Glib::ustring& table_name, const
     //TODO: Catch an exception
     key_file.load_from_data(key_file_text);
 
-    //TODO: Use this when gtkmm and GTK+ have been fixed: page_setup = Gtk::PageSetup::create(key_file);
-    page_setup = Glib::wrap(gtk_page_setup_new_from_key_file(key_file.gobj(), 0, 0));
+    page_setup = Gtk::PageSetup::create_from_key_file(key_file);
   }
 
   set_page_setup(page_setup);



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