aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-text-view.c
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2012-01-04 22:27:18 +0100
committerTomasz Sterna <tomek@xiaoka.com>2012-01-24 00:36:01 +0100
commitdf3f3c11dfadc3d0d191f8a642b407d29fca2084 (patch)
tree7d30bd02ff5d6b9aa8e3e15fd8f8f6c874f68197 /hildon/hildon-text-view.c
parent1548555bd7050e000b062e2160838552ea843b63 (diff)
Removed deprecated widgets and methods
Diffstat (limited to 'hildon/hildon-text-view.c')
-rw-r--r--hildon/hildon-text-view.c71
1 files changed, 0 insertions, 71 deletions
diff --git a/hildon/hildon-text-view.c b/hildon/hildon-text-view.c
index 1e3b23f..4013c73 100644
--- a/hildon/hildon-text-view.c
+++ b/hildon/hildon-text-view.c
@@ -47,8 +47,6 @@
* </example>
*/
-#undef HILDON_DISABLE_DEPRECATED
-
#include "hildon-text-view.h"
#include <math.h>
@@ -71,75 +69,6 @@ struct _HildonTextViewPrivate
/**
- * hildon_text_view_set_buffer:
- * @text_view: a #HildonTextView
- * @buffer: a #GtkTextBuffer
- *
- * Sets @buffer as the buffer being displayed by @text_view. The
- * previous buffer displayed by the text view is unreferenced, and a
- * reference is added to @buffer. If you owned a reference to @buffer
- * before passing it to this function, you must remove that reference
- * yourself
- *
- * Since: 2.2
- *
- * Deprecated: use gtk_text_view_set_buffer() instead
- */
-void
-hildon_text_view_set_buffer (HildonTextView *text_view,
- GtkTextBuffer *buffer)
-{
- g_return_if_fail (HILDON_IS_TEXT_VIEW (text_view));
- g_return_if_fail (GTK_IS_TEXT_BUFFER (buffer));
- gtk_text_view_set_buffer (GTK_TEXT_VIEW (text_view), buffer);
-}
-
-/**
- * hildon_text_view_get_buffer:
- * @text_view: a #HildonTextView
- *
- * Returns the text buffer in @text_view. The reference count is not
- * incremented; the caller of this function won't own a new reference.
- *
- * Note that the placeholder text (set using
- * hildon_gtk_text_view_set_placeholder_text()) is never contained in
- * this buffer.
- *
- * Returns: a #GtkTextBuffer
- *
- * Since: 2.2
- *
- * Deprecated: use gtk_text_view_get_buffer() instead
- */
-GtkTextBuffer *
-hildon_text_view_get_buffer (HildonTextView *text_view)
-{
- g_return_val_if_fail (HILDON_IS_TEXT_VIEW (text_view), NULL);
- return gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));
-}
-
-/**
- * hildon_text_view_set_placeholder:
- * @text_view: a #HildonTextView
- * @text: the new text
- *
- * Sets the placeholder text in @text_view to @text.
- *
- * Since: 2.2
- *
- * Deprecated: use hildon_gtk_text_view_set_placeholder_text() instead
- */
-void
-hildon_text_view_set_placeholder (HildonTextView *text_view,
- const gchar *text)
-{
- g_return_if_fail (HILDON_IS_TEXT_VIEW (text_view) && text != NULL);
-#ifdef MAEMO_GTK
- hildon_gtk_text_view_set_placeholder_text (GTK_TEXT_VIEW (text_view), text);
-#endif
-}
-
-/**
* hildon_text_view_new:
*
* Creates a new text view.