mirror of https://github.com/GNOME/gimp.git
use gtk_widget_get_style() instead of widget->style.
2008-09-02 Michael Natterer <mitch@gimp.org> * app/display/gimpstatusbar.c: use gtk_widget_get_style() instead of widget->style. svn path=/trunk/; revision=26837
This commit is contained in:
parent
975f6d0a1a
commit
9d18f2aa9e
|
@ -1,3 +1,8 @@
|
|||
2008-09-02 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/display/gimpstatusbar.c: use gtk_widget_get_style() instead
|
||||
of widget->style.
|
||||
|
||||
2008-09-02 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpruler.c: use gtk_widget_get_style() instead
|
||||
|
|
|
@ -291,7 +291,7 @@ gimp_statusbar_frame_size_request (GtkWidget *widget,
|
|||
{
|
||||
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 @@ gimp_statusbar_label_expose (GtkWidget *widget,
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue