diff src/audacious/ui_skinned_horizontal_slider.c @ 3939:d46d60247826

we don't need to store GtkFixed pointer, do we?
author Tomasz Mon <desowin@gmail.com>
date Thu, 15 Nov 2007 12:38:47 +0100
parents 5a4ef76b1f42
children 1112f53ecc18
line wrap: on
line diff
--- a/src/audacious/ui_skinned_horizontal_slider.c	Thu Nov 15 12:07:23 2007 +0100
+++ b/src/audacious/ui_skinned_horizontal_slider.c	Thu Nov 15 12:38:47 2007 +0100
@@ -39,7 +39,6 @@
 };
 
 struct _UiSkinnedHorizontalSliderPrivate {
-    GtkWidget        *fixed;
     SkinPixmapId     skin_index;
     gboolean         double_size;
     gint             frame, frame_offset, frame_height, min, max;
@@ -141,7 +140,6 @@
     hs->y = y;
     priv->width = w;
     priv->height = h;
-    priv->fixed = fixed;
     hs->knob_nx = knx;
     hs->knob_ny = kny;
     hs->knob_px = kpx;
@@ -158,7 +156,7 @@
         priv->frame = priv->frame_cb(0);
     priv->skin_index = si;
 
-    gtk_fixed_put(GTK_FIXED(priv->fixed), GTK_WIDGET(hs), hs->x, hs->y);
+    gtk_fixed_put(GTK_FIXED(fixed), GTK_WIDGET(hs), hs->x, hs->y);
 
     return GTK_WIDGET(hs);
 }