ack ----- Original Message ----- > g_type_init() is deprecated, calling it on newer glib causes a compile-time > warning. > --- > gtk/controller/test.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/gtk/controller/test.c b/gtk/controller/test.c > index c7ae8f0..851f237 100644 > --- a/gtk/controller/test.c > +++ b/gtk/controller/test.c > @@ -214,7 +214,9 @@ int main (int argc, char *argv[]) > ControllerValue msg; > ssize_t read; > > +#if !GLIB_CHECK_VERSION(2,36,0) > g_type_init (); > +#endif > ctrl = spice_ctrl_controller_new (); > loop = g_main_loop_new (NULL, FALSE); > g_signal_connect (ctrl, "notify", G_CALLBACK (notified), NULL); > -- > 1.8.4.2 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel