summaryrefslogtreecommitdiff
path: root/gtk/gtkaccellabel.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-13 08:45:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-13 08:45:00 -0400
commitec0a60a2483e1b9dc5708aa0291279e3386ab9b5 (patch)
tree6377017cdb03801d29b815da05392e8b46b8bb8f /gtk/gtkaccellabel.c
parent7840bad5d78664f47c19d019d5d4614aec19e7ea (diff)
downloadgtk+-ec0a60a2483e1b9dc5708aa0291279e3386ab9b5.tar.gz
Deprecate GtkMisc
This has been dangling ever since 3.0.
Diffstat (limited to 'gtk/gtkaccellabel.c')
-rw-r--r--gtk/gtkaccellabel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index d37a7c5a64..49bc99d866 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -428,7 +428,9 @@ gtk_accel_label_draw (GtkWidget *widget,
cairo_restore (cr);
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_misc_get_padding (misc, &xpad, NULL);
+G_GNUC_END_IGNORE_DEPRECATIONS
if (direction == GTK_TEXT_DIR_RTL)
x = xpad;