summaryrefslogtreecommitdiff
path: root/mixer/applet.h
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2005-02-10 08:24:44 +0000
committerMark McLoughlin <markmc@src.gnome.org>2005-02-10 08:24:44 +0000
commit452179eacd9446f68f8f81a421898b3d4ab53f8c (patch)
treea0c7fc0fd3480e6c9c64ca81030158b1654fb5b3 /mixer/applet.h
parent71d63ebfa9c44b6d6a109fbda2b9db5882ae9c14 (diff)
Fixes crash when we select a track with no channels. See Fedora bug:
2005-02-09 Mark McLoughlin <mark@skynet.ie> Fixes crash when we select a track with no channels. See Fedora bug: https://bugzilla.redhat.com/beta/show_bug.cgi?id=147282 Thanks to Neil Paris <neilparis@gmail.com> for isolating the problem. * applet.[ch]: (select_track), (select_element_and_track): new functions. (gnome_volume_applet_setup): re-work mixer/track selection so that we never end up with a track with no channels. * load.c: (gnome_volume_applet_factory): don't pop up an error dialog if we can't find a mixer here. Allow gnome_volume_applet_setup() to do it instead.
Diffstat (limited to 'mixer/applet.h')
-rw-r--r--mixer/applet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mixer/applet.h b/mixer/applet.h
index c38d52c14..86f4c8023 100644
--- a/mixer/applet.h
+++ b/mixer/applet.h
@@ -84,9 +84,9 @@ typedef struct _GnomeVolumeAppletClass {
PanelAppletClass klass;
} GnomeVolumeAppletClass;
-GType gnome_volume_applet_get_type (void);
-void gnome_volume_applet_setup (GnomeVolumeApplet *applet,
- GList *elements);
+GType gnome_volume_applet_get_type (void);
+gboolean gnome_volume_applet_setup (GnomeVolumeApplet *applet,
+ GList *elements);
G_END_DECLS