[gedit] Remove calls to deprecated g_type_init.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Remove calls to deprecated g_type_init.
- Date: Sun, 4 Nov 2012 12:02:12 +0000 (UTC)
commit a68100b607f165497bcc05ce48d11694e2f795ed
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Nov 4 13:01:43 2012 +0100
Remove calls to deprecated g_type_init.
gedit/gedit.c | 3 ---
tests/document-input-stream.c | 1 -
tests/document-loader.c | 1 -
tests/document-output-stream.c | 1 -
tests/document-saver.c | 1 -
5 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gedit/gedit.c b/gedit/gedit.c
index b75337c..6e71518 100644
--- a/gedit/gedit.c
+++ b/gedit/gedit.c
@@ -240,9 +240,6 @@ main (int argc, char *argv[])
gchar *metadata_filename;
#endif
- /* Init type system as soon as possible */
- g_type_init ();
-
/* Setup debugging */
gedit_debug_init ();
gedit_debug_message (DEBUG_APP, "Startup");
diff --git a/tests/document-input-stream.c b/tests/document-input-stream.c
index f57fda5..abc6354 100644
--- a/tests/document-input-stream.c
+++ b/tests/document-input-stream.c
@@ -140,7 +140,6 @@ test_consecutive_multibyte_big_read ()
int main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/document-input-stream/empty", test_empty);
diff --git a/tests/document-loader.c b/tests/document-loader.c
index be82faa..c1f9281 100644
--- a/tests/document-loader.c
+++ b/tests/document-loader.c
@@ -231,7 +231,6 @@ test_begin_new_line_detection ()
int main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/document-loader/end-line-stripping", test_end_line_stripping);
diff --git a/tests/document-output-stream.c b/tests/document-output-stream.c
index 3768d72..ee86d91 100644
--- a/tests/document-output-stream.c
+++ b/tests/document-output-stream.c
@@ -429,7 +429,6 @@ test_utf16_utf8 ()
int main (int argc,
char *argv[])
{
- g_type_init ();
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/document-output-stream/empty", test_empty);
diff --git a/tests/document-saver.c b/tests/document-saver.c
index f58b71b..3304eeb 100644
--- a/tests/document-saver.c
+++ b/tests/document-saver.c
@@ -703,7 +703,6 @@ int main (int argc,
gboolean have_unowned;
gboolean have_unowned_group;
- g_type_init ();
g_test_init (&argc, &argv, NULL);
gtk_init (&argc, &argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]