gtkmm r1108 - in branches/gtkmm-2-12: . gtk/src



Author: daniel
Date: Fri Mar  6 16:51:50 2009
New Revision: 1108
URL: http://svn.gnome.org/viewvc/gtkmm?rev=1108&view=rev

Log:
* gtk/src/textbuffer.{ccg,hg} (TextBuffer::[gs]et_rich_text_format):
Remove Maemo-specific methods which have been superseded by the
generic TextBuffer serialization facilities.
(TextBuffer::set_rich_text_format_all): ditto,
(TextBuffer::[gs]et_can_paste_rich_text): ditto.

Modified:
   branches/gtkmm-2-12/ChangeLog
   branches/gtkmm-2-12/gtk/src/textbuffer.ccg
   branches/gtkmm-2-12/gtk/src/textbuffer.hg

Modified: branches/gtkmm-2-12/gtk/src/textbuffer.ccg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/textbuffer.ccg	(original)
+++ branches/gtkmm-2-12/gtk/src/textbuffer.ccg	Fri Mar  6 16:51:50 2009
@@ -589,12 +589,4 @@
 }
 */
 
-#ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED
-void TextBuffer::set_rich_text_format_all()
-{
-  gtk_text_buffer_set_rich_text_format(gobj(), NULL);
-}
-#endif //GTKMM_MAEMO_EXTENSIONS_ENABLED
-
 } // namespace Gtk
-

Modified: branches/gtkmm-2-12/gtk/src/textbuffer.hg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/textbuffer.hg	(original)
+++ branches/gtkmm-2-12/gtk/src/textbuffer.hg	Fri Mar  6 16:51:50 2009
@@ -485,26 +485,6 @@
   _WRAP_METHOD(void begin_user_action(), gtk_text_buffer_begin_user_action)
   _WRAP_METHOD(void end_user_action(), gtk_text_buffer_end_user_action)
 
-
-
-  //These are only available on the Maemo platform (patched Gtk+):
-
-  _WRAP_METHOD(void set_can_paste_rich_text(bool can_paste_rich_text), gtk_text_buffer_set_can_paste_rich_text, ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED)
-  _WRAP_METHOD(bool get_can_paste_rich_text() const, gtk_text_buffer_get_can_paste_rich_text, ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED)
-
-  _WRAP_METHOD(void set_rich_text_format(const Glib::ustring& format), gtk_text_buffer_set_rich_text_format, ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED)
-
-#ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED
-  /** Accept all formats from clipboard
-   *
-   */
-  void set_rich_text_format_all();
-#endif //GTKMM_MAEMO_EXTENSIONS_ENABLED
-
-  _WRAP_METHOD(Glib::ustring get_rich_text_format() const, gtk_text_buffer_get_rich_text_format, ifdef GTKMM_MAEMO_EXTENSIONS_ENABLED) 
-
-
-
 //TODO: I have commented these out for now because I don't understand what the register_buffer and content_buffer are. murrayc.
  //TODO: Documentation.
  // typedef sigc::slot<guint8*, const Glib::RefPtr<TextBuffer>& /* content_buffer */, const iterator& /* start */, const iterator& /* end */, gsize& /* length */> SlotSerialize;



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