Grabbed the focus in the HildonTextView button press callback
[hildon] / examples / hildon-text-view-example.c
index bc234fa..d3d4843 100644 (file)
@@ -20,7 +20,7 @@
  *
  */
 
-#include                                        <hildon.h>
+#include                                        <hildon/hildon.h>
 
 HildonTextView *textview;
 GtkTextBuffer *buffer;
@@ -69,13 +69,7 @@ main                                            (int    argc,
     GtkWidget *textviewframe;
     GtkBox *vbox;
 
-    gtk_init (&argc, &argv);
-
-    /* Style to paint the placeholder text in red */
-    gtk_rc_parse_string ("style \"placeholder\" {\n"
-                         "text[NORMAL] = \"#C03030\""
-                         "}\n"
-                         "widget \"*.hildon-text-view-placeholder\" style \"placeholder\"\n");
+    hildon_gtk_init (&argc, &argv);
 
     /* Window and vbox to pack everything */
     win = hildon_stackable_window_new ();