diff options
author | Benjamin Otte <otte@redhat.com> | 2016-10-08 05:07:23 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-10-16 18:18:58 +0200 |
commit | 1518fe0a8f0a973f013e21c185f38111d69d6ac7 (patch) | |
tree | f3fe2e9fcf10181b91a2d1627a086ca8fd81c485 /gtk/gtkrevealer.c | |
parent | 7ae008421aaf94d0b6968bcbf71fc3e1271181d8 (diff) | |
download | gtk+-1518fe0a8f0a973f013e21c185f38111d69d6ac7.tar.gz |
API: stylecontext: Remove state argument from getters
The argument must always be the current state.
Diffstat (limited to 'gtk/gtkrevealer.c')
-rw-r--r-- | gtk/gtkrevealer.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkrevealer.c b/gtk/gtkrevealer.c index 2e3d34fc6b..c364e142e5 100644 --- a/gtk/gtkrevealer.c +++ b/gtk/gtkrevealer.c @@ -125,12 +125,10 @@ gtk_revealer_get_padding (GtkRevealer *revealer, { GtkWidget *widget = GTK_WIDGET (revealer); GtkStyleContext *context; - GtkStateFlags state; context = gtk_widget_get_style_context (widget); - state = gtk_style_context_get_state (context); - gtk_style_context_get_padding (context, state, padding); + gtk_style_context_get_padding (context, padding); } static void |