mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 08:40:08 +00:00
Fix a leftover deprecation warning
This commit is contained in:
parent
ce0325207e
commit
b8309cdf2f
@ -378,7 +378,6 @@ gtk_accel_label_draw (GtkWidget *widget,
|
||||
cairo_t *cr)
|
||||
{
|
||||
GtkAccelLabel *accel_label = GTK_ACCEL_LABEL (widget);
|
||||
GtkMisc *misc = GTK_MISC (accel_label);
|
||||
GtkTextDirection direction;
|
||||
guint ac_width;
|
||||
GtkAllocation allocation;
|
||||
@ -429,7 +428,7 @@ gtk_accel_label_draw (GtkWidget *widget,
|
||||
cairo_restore (cr);
|
||||
|
||||
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||
gtk_misc_get_padding (misc, &xpad, NULL);
|
||||
gtk_misc_get_padding (GTK_MISC (widget), &xpad, NULL);
|
||||
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||
|
||||
if (direction == GTK_TEXT_DIR_RTL)
|
||||
|
Loading…
Reference in New Issue
Block a user