Commit b8309cdf authored by Matthias Clasen's avatar Matthias Clasen

Fix a leftover deprecation warning

parent ce032520
......@@ -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);
gtk_misc_get_padding (misc, &xpad, NULL);
gtk_misc_get_padding (GTK_MISC (widget), &xpad, NULL);
if (direction == GTK_TEXT_DIR_RTL)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment