gimp r26837 - in trunk: . app/display



Author: mitch
Date: Tue Sep  2 12:55:46 2008
New Revision: 26837
URL: http://svn.gnome.org/viewvc/gimp?rev=26837&view=rev

Log:
2008-09-02  Michael Natterer  <mitch gimp org>

	* app/display/gimpstatusbar.c: use gtk_widget_get_style() instead
	of widget->style.



Modified:
   trunk/ChangeLog
   trunk/app/display/gimpstatusbar.c

Modified: trunk/app/display/gimpstatusbar.c
==============================================================================
--- trunk/app/display/gimpstatusbar.c	(original)
+++ trunk/app/display/gimpstatusbar.c	Tue Sep  2 12:55:46 2008
@@ -291,7 +291,7 @@
 {
   GtkRequisition  child_requisition;
   gint            width   = 0;
-  gint            padding = 2 * widget->style->ythickness;
+  gint            padding = 2 * gtk_widget_get_style (widget)->ythickness;
 
   /*  also consider the children which can be invisible  */
 
@@ -1269,7 +1269,7 @@
                                     PANGO_PIXELS (rect.width) : 0);
       y += PANGO_PIXELS (rect.y);
 
-      gdk_draw_pixbuf (widget->window, widget->style->black_gc,
+      gdk_draw_pixbuf (widget->window, gtk_widget_get_style (widget)->black_gc,
                        statusbar->icon,
                        0, 0,
                        x, y,



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