[gnome-panel] Fix important regression



commit b7608aaae89f898fc52ab240f4254542d4ca134d
Author: Dan Winship <danw gnome org>
Date:   Fri Jun 12 10:27:39 2009 -0400

    Fix important regression
    
    https://bugzilla.gnome.org/show_bug.cgi?id=578529

 gnome-panel/nothing.cP |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnome-panel/nothing.cP b/gnome-panel/nothing.cP
index f8d19b1..3b08ae2 100644
--- a/gnome-panel/nothing.cP
+++ b/gnome-panel/nothing.cP
@@ -136,8 +136,8 @@ goat_timeout_func(gpointer data)
 	cairo_paint (cr);
 	
 	gdk_cairo_set_source_pixmap (cr,
-				     goat_accx<0?goat_pix_rev[real_goat_frame]:
-						 goat_pix[real_goat_frame],
+				     goat_accx<0?goat_pix[real_goat_frame]:
+						 goat_pix_rev[real_goat_frame],
 				     goat_x,goat_y);
 
 	cairo_paint (cr);
@@ -210,7 +210,7 @@ goat_realize(GtkWidget *widget)
 
 		goat_pix_rev[frame] = gdk_pixmap_new(widget->window,
 						     width, height, -1);
-		cr = gdk_cairo_create (goat_pix[frame]);
+		cr = gdk_cairo_create (goat_pix_rev[frame]);
 		gdk_cairo_set_source_pixbuf (cr, pb, 0, 0);
 
 		cairo_matrix_init_identity (&matrix);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]