blob: 7b910b7e08f47b56cfe0aaec4eda935bbda37d36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
diff -Naur giftui-0.4.1/src/main.c giftui-0.4.1.new/src/main.c
--- giftui-0.4.1/src/main.c 2004-05-06 01:55:02.000000000 -0500
+++ giftui-0.4.1.new/src/main.c 2004-08-18 22:30:08.600960640 -0500
@@ -197,6 +197,12 @@
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
#endif
+
+ /* init GObject system */
+ g_type_init ();
+
+ /* GTK+ init */
+ gtk_init (&argc, &argv);
/* configuration init & load */
giftui_config_init ();
@@ -214,10 +220,6 @@
return EXIT_FAILURE;
}
-
-
- /* GTK+ init */
- gtk_init (&argc, &argv);
return EXIT_SUCCESS;
}
|