aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-text-view.c
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2011-11-14 22:46:16 +0100
committerTomasz Sterna <tomek@xiaoka.com>2011-11-14 22:46:16 +0100
commit6cdb832c76ae0d8a71c8e874265bad8858b57794 (patch)
tree6f76809720c56d2312f2e72b02f9abbce09bea71 /hildon/hildon-text-view.c
parent40ca65c7d81d83d38a82aa5839f9707cafc73943 (diff)
Merged setplaceholdertext.patch
Diffstat (limited to 'hildon/hildon-text-view.c')
-rw-r--r--hildon/hildon-text-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hildon/hildon-text-view.c b/hildon/hildon-text-view.c
index 1d95f1c..8bb94ab 100644
--- a/hildon/hildon-text-view.c
+++ b/hildon/hildon-text-view.c
@@ -134,7 +134,9 @@ 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
}
/**