diff options
author | Davyd Madeley <davyd@madeley.id.au> | 2005-11-16 15:50:44 +0000 |
---|---|---|
committer | Davyd Madeley <davyd@src.gnome.org> | 2005-11-16 15:50:44 +0000 |
commit | 1dc493c9e8313dafe790ae775b121f5012d668f3 (patch) | |
tree | 1c82d30053c220502305199a1dba10448543aa64 /mixer/applet.c | |
parent | 3bb4ec6c1ede5a242bc0f1885bd30d7e8789c6ba (diff) |
A cleanup patch of serious scope. Cleanup and dead code removal from
2005-11-15 Davyd Madeley <davyd@madeley.id.au>
* accessx-status/applet.c:
* battstat/power-management.c:
* battstat/properties.c:
* charpick/charpick.c:
* cpufreq/src/cpufreq-applet.c:
* cpufreq/src/cpufreq-monitor-procfs.c:
* cpufreq/src/cpufreq-monitor-sysfs.c:
* cpufreq/src/cpufreq-prefs.c:
* cpufreq/src/cpufreq-selector/cpufreq-procfs.c:
* cpufreq/src/cpufreq-selector/cpufreq-sysfs.c:
* drivemount/drive-button.c:
* geyes/geyes.c:
* geyes/themes.c:
* gswitchit/gswitchit-applet.c:
* gtik/gtik.c:
* gtik/access/accessibledrawingarea.c:
* gtik/access/factory.c:
* gweather/gweather-applet.c:
* gweather/gweather-dialog.c:
* gweather/gweather-pref.c:
* gweather/weather-bom.c:
* gweather/weather-iwin.c:
* gweather/weather-metar.c:
* gweather/weather-wx.c:
* gweather/weather.c:
* mini-commander/src/exec.c:
* mini-commander/src/history.c:
* mini-commander/src/mc-install-default-macros.c:
* mini-commander/src/preferences.c:
* mixer/applet.c:
* mixer/preferences.c:
* modemlights/modem-applet.c:
* null_applet/null_applet.c:
* stickynotes/sticknotes_applet_callbacks.c:
* trashapplet/src/Makefile.am:
* trashapplet/src/trash-monitor.c:
* trashapplet/src/trashapplet.c: A cleanup patch of serious scope.
Cleanup and dead code removal from Kjartan Marass and gcc 2.95 fixes
from Jens Granseuer <jensgr@gmx.net>.
Diffstat (limited to 'mixer/applet.c')
-rw-r--r-- | mixer/applet.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mixer/applet.c b/mixer/applet.c index 20047d816..e39a9c78f 100644 --- a/mixer/applet.c +++ b/mixer/applet.c @@ -24,6 +24,7 @@ #include "config.h" #endif +#include <math.h> #include <string.h> #include <glib-object.h> @@ -311,7 +312,6 @@ select_element_and_track (GnomeVolumeApplet *applet, const char *active_track_names) { GstElement *active_element; - GstMixerTrack *active_track; GList *active_tracks, *l; applet->elements = elements; @@ -364,7 +364,6 @@ gnome_volume_applet_setup (GnomeVolumeApplet *applet, GList *elements) { GtkObject *adj; - gint page; BonoboUIComponent *component; static const BonoboUIVerb verbs[] = { BONOBO_UI_UNSAFE_VERB ("RunMixer", cb_verb), @@ -991,7 +990,6 @@ cb_volume (GtkAdjustment *adj, gpointer data) { GnomeVolumeApplet *applet = data; - gint *volumes, n; gdouble v; GList *iter; @@ -1182,7 +1180,6 @@ cb_gconf (GConfClient *client, if (active_tracks) { GtkObject *adj; GstMixerTrack *first_track; - gint page, percent; /* copy the newly created track list over to the main list */ g_list_free (applet->tracks); |