Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 152001 | Differences between
and this patch

Collapse All | Expand All

(-)widgets/playlist_list.c (-3 / +7 lines)
Lines 119-129 Link Here
119
			ximg, ximg->bpl, w, h, 60, 60, 60, shade_color->pixel);
119
			ximg, ximg->bpl, w, h, 60, 60, 60, shade_color->pixel);
120
120
121
		gdk_draw_image(p, gc, ximg, 0, 0, x, y, w, h);
121
		gdk_draw_image(p, gc, ximg, 0, 0, x, y, w, h);
122
123
		g_object_unref(ximg);
122
	}
124
	}
123
	else {
125
	else {
124
		cfg.playlist_transparent = FALSE;
126
		cfg.playlist_transparent = FALSE;
125
	}
127
	}
126
128
129
	g_object_unref(in);
127
	g_object_unref(gc);
130
	g_object_unref(gc);
128
131
129
	return p;
132
	return p;
Lines 174-189 Link Here
174
static GdkFilterReturn
177
static GdkFilterReturn
175
root_event_cb (GdkXEvent *xev, GdkEventProperty *event, gpointer data)
178
root_event_cb (GdkXEvent *xev, GdkEventProperty *event, gpointer data)
176
{
179
{
177
        static Atom at = None;
178
        XEvent *xevent = (XEvent *)xev;
180
        XEvent *xevent = (XEvent *)xev;
179
181
180
        if (xevent->type == PropertyNotify)
182
        if (xevent->type == PropertyNotify)
181
        {
183
        {
182
                if (at == None)
184
	        Atom at = XInternAtom (xevent->xproperty.display, "_XROOTPMAP_ID", True);
183
                        at = XInternAtom (xevent->xproperty.display, "_XROOTPMAP_ID", True);
184
185
185
                if (at == xevent->xproperty.atom)
186
                if (at == xevent->xproperty.atom)
186
		{
187
		{
188
			if (rootpix != NULL)
189
			    g_object_unref(rootpix);
190
187
                        rootpix = shade_pixmap(get_transparency_pixmap(), 0, 0, 0, 0, gdk_screen_width(), gdk_screen_height(),
191
                        rootpix = shade_pixmap(get_transparency_pixmap(), 0, 0, 0, 0, gdk_screen_width(), gdk_screen_height(),
188
                            skin_get_color(bmp_active_skin, SKIN_PLEDIT_NORMALBG));
192
                            skin_get_color(bmp_active_skin, SKIN_PLEDIT_NORMALBG));
189
193

Return to bug 152001