gtkmm r991 - in trunk: . gtk/src



Author: murrayc
Date: Fri Apr 11 21:46:56 2008
New Revision: 991
URL: http://svn.gnome.org/viewvc/gtkmm?rev=991&view=rev

Log:
2008-04-11  Andreas Klaedtke  <andreas klaedtke gmx net>

* gtk/src/widget.hg: get_direction(): Add a const version and deprecate 
the non-const version.
Bug #526742.

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

Modified: trunk/gtk/src/widget.hg
==============================================================================
--- trunk/gtk/src/widget.hg	(original)
+++ trunk/gtk/src/widget.hg	Fri Apr 11 21:46:56 2008
@@ -422,7 +422,9 @@
 /* Directionality of Text */
 
   _WRAP_METHOD(void set_direction(TextDirection dir), gtk_widget_set_direction)
-  _WRAP_METHOD(TextDirection get_direction(), gtk_widget_get_direction)
+  _WRAP_METHOD(TextDirection get_direction(), gtk_widget_get_direction, deprecated "Use the const version of this method.")
+  _WRAP_METHOD(TextDirection get_direction() const, gtk_widget_get_direction)
+
   _WRAP_METHOD(static void set_default_direction(TextDirection dir), gtk_widget_set_default_direction)
   _WRAP_METHOD(static TextDirection get_default_direction(), gtk_widget_get_default_direction)
 



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