Commit 23699814 authored by Andrew Miloradovsky's avatar Andrew Miloradovsky Committed by Alexandre Franke

g_type_init() has been deprecated since GLib 2.36

https://bugzilla.gnome.org/show_bug.cgi?id=782227
parent 0f1ee22f
...@@ -56,7 +56,7 @@ Installation ...@@ -56,7 +56,7 @@ Installation
Dependencies: Dependencies:
GLIB 2.6.0 GLIB 2.36.0
GTK 2.24.0 GTK 2.24.0
LIBGNOMECANVAS 2.10.0 LIBGNOMECANVAS 2.10.0
LIBGLADE 2.3.0 LIBGLADE 2.3.0
......
...@@ -65,7 +65,7 @@ dnl ========================================================================== ...@@ -65,7 +65,7 @@ dnl ==========================================================================
dnl If you add a version number here, you *must* add an AC_SUBST line for dnl If you add a version number here, you *must* add an AC_SUBST line for
dnl it too, or it will never make it into the spec file! dnl it too, or it will never make it into the spec file!
GLIB_REQUIRED=2.6.0 GLIB_REQUIRED=2.36.0
GTK_REQUIRED=2.24.0 GTK_REQUIRED=2.24.0
LIBGNOMECANVAS_REQUIRED=2.10.0 LIBGNOMECANVAS_REQUIRED=2.10.0
LIBGLADE_REQUIRED=2.3.0 LIBGLADE_REQUIRED=2.3.0
......
...@@ -10,7 +10,7 @@ DOC_MAIN_SGML_FILE=libplanner-docs.sgml ...@@ -10,7 +10,7 @@ DOC_MAIN_SGML_FILE=libplanner-docs.sgml
DOC_SOURCE_DIR=../../libplanner DOC_SOURCE_DIR=../../libplanner
# Extra options to pass to gtkdoc-scangobj # Extra options to pass to gtkdoc-scangobj
SCANGOBJ_OPTIONS=--type-init-func="g_type_init()" SCANGOBJ_OPTIONS=
# Extra options to supply to gtkdoc-scan # Extra options to supply to gtkdoc-scan
#SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED" #SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED"
......
...@@ -17,8 +17,6 @@ main (gint argc, gchar **argv) ...@@ -17,8 +17,6 @@ main (gint argc, gchar **argv)
MrpDay *day_a, *day_b, *day_c, *def_1_id; MrpDay *day_a, *day_b, *day_c, *def_1_id;
GList *l = NULL; GList *l = NULL;
g_type_init ();
app = mrp_application_new (); app = mrp_application_new ();
project = mrp_project_new (NULL); project = mrp_project_new (NULL);
......
...@@ -119,8 +119,6 @@ main (gint argc, gchar **argv) ...@@ -119,8 +119,6 @@ main (gint argc, gchar **argv)
{ {
ActionHistory action_history; ActionHistory action_history;
g_type_init ();
PlannerCmdManager *cmd_manager = planner_cmd_manager_new (); PlannerCmdManager *cmd_manager = planner_cmd_manager_new ();
/* Initialise the action history */ /* Initialise the action history */
......
...@@ -227,8 +227,6 @@ main (gint argc, gchar **argv) ...@@ -227,8 +227,6 @@ main (gint argc, gchar **argv)
NULL NULL
}; };
g_type_init ();
app = mrp_application_new (); app = mrp_application_new ();
i = 0; i = 0;
......
...@@ -21,8 +21,6 @@ main (gint argc, gchar **argv) ...@@ -21,8 +21,6 @@ main (gint argc, gchar **argv)
MrpTask *root; MrpTask *root;
MrpRelation *relation; MrpRelation *relation;
g_type_init ();
app = mrp_application_new (); app = mrp_application_new ();
project_start = mrp_time_from_string ("20020218", NULL); project_start = mrp_time_from_string ("20020218", NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment