X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpspp-widget-facade.c;h=a95040bdf77f8b31397bb42e3dcb8467fb0e8ea8;hb=1c34ef6b7f0a6af23141cb117429ab46f8c3a6c5;hp=be785dc133c4ca69aa0134a95975b398ff0df5a5;hpb=0df9cdd3df66caf4353128feff3008289cda8115;p=pspp diff --git a/src/ui/gui/pspp-widget-facade.c b/src/ui/gui/pspp-widget-facade.c index be785dc133..a95040bdf7 100644 --- a/src/ui/gui/pspp-widget-facade.c +++ b/src/ui/gui/pspp-widget-facade.c @@ -23,6 +23,8 @@ #include #include +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + static void inset_rectangle (const GdkRectangle *src, const GtkBorder *inset, @@ -347,7 +349,7 @@ facade_button_render (GtkWidget *base, get_layout_location (base, &label_area, layout, xpad, ypad, xalign, yalign, &x, &y); - gtk_paint_layout (label_style, cr, state_type, FALSE, + gtk_paint_layout (label_style, cr, state_type, FALSE, base, "label", x, y, layout); g_object_unref (layout);