commit 862385e9624b8c5c33a43d36605d2198b87cb5c9
Author: freetz <[email protected]>
Date:   Mon Nov 28 18:06:10 2005 +0000

    - fixed in sources
    
    Changed files:
        gnome-applets-mixer.patch -> 1.2

 gnome-applets-mixer.patch | 64 -----------------------------------------------
 1 file changed, 64 deletions(-)
---
diff --git a/gnome-applets-mixer.patch b/gnome-applets-mixer.patch
deleted file mode 100644
index 6654e66..0000000
--- a/gnome-applets-mixer.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -aurN gnome-applets-2.12.1.orig/mixer/applet.c 
gnome-applets-2.12.1/mixer/applet.c
---- gnome-applets-2.12.1.orig/mixer/applet.c   2005-10-04 03:02:17.000000000 
+0200
-+++ gnome-applets-2.12.1/mixer/applet.c        2005-10-08 11:14:49.000000000 
+0200
-@@ -716,7 +716,7 @@
-       case GDK_SCROLL_UP:
-       case GDK_SCROLL_DOWN: {
-         GtkAdjustment *adj = gtk_range_get_adjustment (applet->dock->scale);
--        gfloat volume = adj->value;
-+        gint volume = adj->value;
- 
-         if (event->direction == GDK_SCROLL_UP) {
-           volume += adj->step_increment;
-@@ -942,7 +942,7 @@
- void
- gnome_volume_applet_adjust_volume (GstMixer *mixer,
-                                  GstMixerTrack *track,
--                                 float volume)
-+                                 int volume)
- {
-   int range = track->max_volume - track->min_volume;
-   float scale = ((float) range) / 100;
-@@ -953,7 +953,7 @@
- 
-   volumes = g_new (gint, track->num_channels);
-   for (n = 0; n < track->num_channels; n++)
--    volumes[n] = lrintf (volume);
-+    volumes[n] = volume;
-   gst_mixer_set_volume (mixer, track, volumes);
-   g_free (volumes);
- }
-@@ -989,8 +989,7 @@
-          gpointer data)
- {
-   GnomeVolumeApplet *applet = data;
--  gint *volumes, n;
--  gfloat v;
-+  gint *volumes, n, v;
-   GList *iter;
- 
-   if (applet->lock)
-diff -aurN gnome-applets-2.12.1.orig/mixer/applet.h 
gnome-applets-2.12.1/mixer/applet.h
---- gnome-applets-2.12.1.orig/mixer/applet.h   2005-10-04 03:02:17.000000000 
+0200
-+++ gnome-applets-2.12.1/mixer/applet.h        2005-10-08 11:14:49.000000000 
+0200
-@@ -92,7 +92,7 @@
- 
- void     gnome_volume_applet_adjust_volume (GstMixer      *mixer,
-                                           GstMixerTrack *track,
--                                          float          volume);
-+                                          int            volume);
- GType    gnome_volume_applet_get_type (void);
- gboolean gnome_volume_applet_setup    (GnomeVolumeApplet *applet,
-                                      GList             *elements);
-diff -aurN gnome-applets-2.12.1.orig/mixer/dock.c 
gnome-applets-2.12.1/mixer/dock.c
---- gnome-applets-2.12.1.orig/mixer/dock.c     2005-10-04 03:02:17.000000000 
+0200
-+++ gnome-applets-2.12.1/mixer/dock.c  2005-10-08 11:14:49.000000000 +0200
-@@ -196,7 +196,7 @@
- {
-   GnomeVolumeAppletDock *dock = data;
-   GtkAdjustment *adj;
--  gfloat volume;
-+  gint volume;
-   gboolean res = TRUE;
- 
-   if (!dock->timeout)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-applets.git/commitdiff/65c1b73f8721e2c1dd8f5b7d875df06b87ad8453

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to