widget: turn the widget into a basic state machine
authorFilippo Argiolas <filippo.argiolas@gmail.com>
Sun, 21 Feb 2010 20:11:56 +0000 (21:11 +0100)
committerFilippo Argiolas <filippo.argiolas@gmail.com>
Sun, 21 Feb 2010 21:32:16 +0000 (22:32 +0100)
commit3dbd5ff54ee7b3031462cc767ac5b174eb9aab93
tree0bbe787000c50a232ea450d7f23b6714eaf93e9c
parentd92b053c0bc0f6d27e539addea1d867c95c02951
widget: turn the widget into a basic state machine

Get rid of "ready" and "error" signals and use a "state" property to keep
track of the current widget state (none, ready, error).
Users can now connect to the notify::state signal to get notified about
state changes.
If an error occurred (i.e. the widget is in the error state) users can
call cheese_widget_get_error() to get a GError containing more details
about what went wrong.
Makefile.am.enums [new file with mode: 0644]
configure.ac
docs/reference/Makefile.am
libcheese/Makefile.am
libcheese/cheese-enum-types.c.in [new file with mode: 0644]
libcheese/cheese-enum-types.h.in [new file with mode: 0644]
libcheese/cheese-gtk.symbols
libcheese/cheese-widget.c
libcheese/cheese-widget.h