gtkmm r1006 - in trunk: . gtk/src



Author: murrayc
Date: Wed Jul 16 15:54:50 2008
New Revision: 1006
URL: http://svn.gnome.org/viewvc/gtkmm?rev=1006&view=rev

Log:
2008-07-16  Murray Cumming  <murrayc murrayc com>

* gtk/src/filechooser.hg: get_preview_widget(): Move the const 
overload after the non-const one, because gmmproc otherwise seems to 
make both just calls to the non-const one. We really need to stop 
gmmproc from doing that, first figuring out why.
Luckily, I don't think we put them in this order very often.
Bug #543288 (Jens Georg)

Modified:
   trunk/ChangeLog
   trunk/gtk/src/filechooser.hg

Modified: trunk/gtk/src/filechooser.hg
==============================================================================
--- trunk/gtk/src/filechooser.hg	(original)
+++ trunk/gtk/src/filechooser.hg	Wed Jul 16 15:54:50 2008
@@ -116,8 +116,10 @@
 /* Preview widget
  */
   _WRAP_METHOD(void set_preview_widget(Gtk::Widget& preview_widget), gtk_file_chooser_set_preview_widget)
-  _WRAP_METHOD(const Gtk::Widget* get_preview_widget() const, gtk_file_chooser_get_preview_widget, constversion)
+ 
   _WRAP_METHOD(Gtk::Widget* get_preview_widget(), gtk_file_chooser_get_preview_widget)
+  _WRAP_METHOD(const Gtk::Widget* get_preview_widget() const, gtk_file_chooser_get_preview_widget, constversion)
+
   _WRAP_METHOD(void set_preview_widget_active(bool active = true), gtk_file_chooser_set_preview_widget_active)
   _WRAP_METHOD(bool get_preview_widget_active() const, gtk_file_chooser_get_preview_widget_active)
 



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