aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-text-view.c
diff options
context:
space:
mode:
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
}
/**