From b8309cdf2fdcbee675f4c1f7bcc266378586baa9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 13 May 2014 11:55:45 -0400 Subject: [PATCH] Fix a leftover deprecation warning --- gtk/gtkaccellabel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c index 49bc99d866..fbd0943c5c 100644 --- a/gtk/gtkaccellabel.c +++ b/gtk/gtkaccellabel.c @@ -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)