Cleanup volume bars,
authorLuc Pionchon <luc.pionchon@nokia.com>
Thu, 16 Mar 2006 14:23:08 +0000 (14:23 +0000)
committerLuc Pionchon <luc.pionchon@nokia.com>
Thu, 16 Mar 2006 14:23:08 +0000 (14:23 +0000)
commit77ca7ebfe44587b7202de69cd1540451ae14c877
tree7737d00a2c4f7dd7c1e3f134a92e2d2aea1b59de
parent4dea8169d5d897e251266aed59fc5ed601e1e1b6
Cleanup volume bars,

* hildon-widgets/hildon-volumebar.h: removed unused #include
        + coding style cleanup

        * hildon-widgets/hildon-volumebar.c
        (_hildon_volumebar_mute_toggled): new function. Sends mute-toggled
        signal to widget.
        (hildon_child_forall): use g_assert instead of g_return_if_fail

        * hildon-widgets/hildon-volumebar-range.h: removed unused #include
        + coding style cleanup

        * hildon-widgets/hildon-volumebar-private.h:
        added missing #include.
        added _hildon_volumebar_mute_toggled.
        (struct _HildonVolumebarPrivate): removed 'orientation' field (unused)

        * hildon-widgets/hildon-vvolumebar.h: removed unused #include
        + coding style cleanup

        * hildon-widgets/hildon-vvolumebar.c
        (hildon_vvolumebar_size_request)
        (hildon_vvolumebar_size_allocate)
        (hildon_vvolumebar_expose): use g_assert instead of g_return_if_fail

        * hildon-widgets/hildon-vvolumebar.c (hildon_vvolumebar_mute): removed (unused).

        * hildon-widgets/hildon-vvolumebar.c: removed unused #include
        (vvolumebar_class_init): renamed to hildon_vvolumebar_class_init
        (vvolumebar_init): renamed to hildon_vvolumebar_init
        (hildon_vvolumebar_init): removed unused 'orientation'
        initialisation. Use _hildon_volumebar_mute_toggled instead of
        removed hildon_vvolumebar_mute.

        * hildon-widgets/hildon-hvolumebar.h: removed unused #include

        * hildon-widgets/hildon-hvolumebar.c (hvolumebar_class_init):
        renamed to hildon_hvolumebar_class_init

        * hildon-widgets/hildon-hvolumebar.c (hvolumebar_init): renamed to
        hildon_hvolumebar_init

        * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_mute):
        removed (unused).

        * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init):
        removed unused 'orientation' initialisation.

        * hildon-widgets/hildon-hvolumebar.c (hildon_hvolumebar_init): use
        _hildon_volumebar_mute_toggled instead of removed
        hildon_hvolumebar_mute.
ChangeLog
hildon-widgets/hildon-hvolumebar.c
hildon-widgets/hildon-hvolumebar.h
hildon-widgets/hildon-volumebar-private.h
hildon-widgets/hildon-volumebar-range.h
hildon-widgets/hildon-volumebar.c
hildon-widgets/hildon-volumebar.h
hildon-widgets/hildon-vvolumebar.c
hildon-widgets/hildon-vvolumebar.h