projects
/
browser-switch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aafcd06
)
Don't execute hildon_program_get_instance() before gtk_init()
author
Steven Luo
<steven+maemo@steven676.net>
Thu, 17 Dec 2009 14:05:23 +0000
(06:05 -0800)
committer
Steven Luo
<steven+maemo@steven676.net>
Thu, 17 Dec 2009 14:05:23 +0000
(06:05 -0800)
Shuts up some runtime assertions in the Hildon app.
config-ui/browser-switchboard-cp.c
patch
|
blob
|
history
diff --git
a/config-ui/browser-switchboard-cp.c
b/config-ui/browser-switchboard-cp.c
index
616d7b3
..
2591e84
100644
(file)
--- a/
config-ui/browser-switchboard-cp.c
+++ b/
config-ui/browser-switchboard-cp.c
@@
-435,10
+435,12
@@
int main(int argc, char *argv[]) {
GtkDialog *dialog;
#ifdef HILDON
HildonProgram *program = NULL;
- program = HILDON_PROGRAM(hildon_program_get_instance());
#endif
gtk_init(&argc, &argv);
+#ifdef HILDON
+ program = HILDON_PROGRAM(hildon_program_get_instance());
+#endif
g_set_application_name("Browser Switchboard");