aboutsummaryrefslogtreecommitdiff
path: root/examples/hildon-text-view-example.c
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2008-11-24 16:58:31 +0000
committerClaudio Saavedra <csaavedra@igalia.com>2008-11-24 16:58:31 +0000
commit26bad1b29366c701ad66eddd8f31368bc804f773 (patch)
tree0d4db4ab59a7da52dd74b3d6d8494fafe7b4f43b /examples/hildon-text-view-example.c
parent2c3065ddce0fce8f9737b05283e7fca998ef175b (diff)
2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
Based on initial code by Christian Dywan (christian@imendio.com) * doc/hildon-docs.sgml: Add section for hildon-main. * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main(). * src/Makefile.am: Add new hildon-main.[ch] * src/hildon-defines.h: Update the icon sizes. * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add new library initialization files and register icon sizes. * src/hildon-main.h: New declarations. * src/hildon.h: Include hildon-main.h Add new initialization functions to the library. These methods will register the hildon specific icon sizes and can be used in the future for other hildon specific bits. Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h)) Fixes: NB#93075 (Update icon size constants to Fremantle)
Diffstat (limited to 'examples/hildon-text-view-example.c')
-rw-r--r--examples/hildon-text-view-example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hildon-text-view-example.c b/examples/hildon-text-view-example.c
index 9b81bc6..bf70973 100644
--- a/examples/hildon-text-view-example.c
+++ b/examples/hildon-text-view-example.c
@@ -69,7 +69,7 @@ main (int argc,
GtkWidget *textviewframe;
GtkBox *vbox;
- gtk_init (&argc, &argv);
+ hildon_gtk_init (&argc, &argv);
/* Window and vbox to pack everything */
win = hildon_stackable_window_new ();