On Wed, 2014-03-05 at 23:53 -0800, Evan Nemerson wrote:
a very long and illuminating answer.
Thanks for the reply. Your time makes
vala not just a great language, but
a great community as well.
Nice day
Nor Jaidi Tuah
PRIVILEGED/CONFIDENTIAL information may be contained in this me
On 06/03/2014 05:43, Michael Catanzaro wrote:
On Thu, 2014-03-06 at 08:42 +0800, Nor Jaidi Tuah wrote:
/home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:377:2:
warning: 'g_type_init' is deprecated (declared at
/usr/include/glib-2.0/gobject/gtype.h:669)
[-Wdeprecated-decla
On Thu, 2014-03-06 at 08:42 +0800, Nor Jaidi Tuah wrote:
> > /home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:164:2:
> > warning: 'gtk_window_set_opacity' is deprecated (declared at
> > /usr/include/gtk-3.0/gtk/gtkwindow.h:142): Use 'gtk_widget_set_opacity'
> > instead [-Wde
On Thu, 2014-03-06 at 08:42 +0800, Nor Jaidi Tuah wrote:
> > /home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:377:2:
> > warning: 'g_type_init' is deprecated (declared at
> > /usr/include/glib-2.0/gobject/gtype.h:669)
> [-Wdeprecated-declarations]
> > g_type_init ();
> >
Excellent, you're a genius, thank you very much.
He had tried to do this myself, but I could not write it correctly (in
python only needs: *GLib.idle_add (callback, parameters)* )
2014-03-05 21:53 GMT-02:00 Luca Bruno :
> Gstreamer fires signals in a different thread than the gui mainloop. Use
>
>
> *I would clean the following warning in my application, but not how to do
> it:*
>
>
> /home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:164:2:
> warning: 'gtk_window_set_opacity' is deprecated (declared at
> /usr/include/gtk-3.0/gtk/gtkwindow.h:142): Use 'gtk_widget_set_
Gstreamer fires signals in a different thread than the gui mainloop. Use
something like
Idle.add (() => { this.image_button.set_from_stock(
Gtk.Stock.MEDIA_PLAY, Gtk.IconSize.BUTTON);
return false; });
to run your code in the gui mainloop.
On Thu, Mar 6, 2014 at 12:28 AM, Flavio
*Hello, I'm back with questions on the list :) *
In my application I have gtk3 interface and streamings player gstreamer 1.0
implemented separately.
Both work correctly separately and jointly work correctly except in the
following case:
The player emits a signal when the bus changes state of repr