comparison src/audacious/ui_skinned_equalizer_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
comparison
equal deleted inserted replaced
3938:b352b7eb78c1 3939:d46d60247826
36 DOUBLED, 36 DOUBLED,
37 LAST_SIGNAL 37 LAST_SIGNAL
38 }; 38 };
39 39
40 struct _UiSkinnedEqualizerSliderPrivate { 40 struct _UiSkinnedEqualizerSliderPrivate {
41 GtkWidget *fixed;
42 SkinPixmapId skin_index; 41 SkinPixmapId skin_index;
43 gboolean double_size; 42 gboolean double_size;
44 gint position; 43 gint position;
45 gint width, height; 44 gint width, height;
46 gboolean pressed; 45 gboolean pressed;
127 es->x = x; 126 es->x = x;
128 es->y = y; 127 es->y = y;
129 priv->width = 14; 128 priv->width = 14;
130 priv->height = 63; 129 priv->height = 63;
131 priv->skin_index = SKIN_EQMAIN; 130 priv->skin_index = SKIN_EQMAIN;
132 priv->fixed = fixed; 131
133 132 gtk_fixed_put(GTK_FIXED(fixed), GTK_WIDGET(es), es->x, es->y);
134 gtk_fixed_put(GTK_FIXED(priv->fixed), GTK_WIDGET(es), es->x, es->y);
135 133
136 return GTK_WIDGET(es); 134 return GTK_WIDGET(es);
137 } 135 }
138 136
139 static void ui_skinned_equalizer_slider_destroy(GtkObject *object) { 137 static void ui_skinned_equalizer_slider_destroy(GtkObject *object) {