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/gtktexthandle.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/gtktexthandle.c')
-rw-r--r-- | gtk/gtktexthandle.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gtk/gtktexthandle.c b/gtk/gtktexthandle.c index 4e9e359a5d..19e89f1d1a 100644 --- a/gtk/gtktexthandle.c +++ b/gtk/gtktexthandle.c @@ -88,15 +88,9 @@ _gtk_text_handle_get_size (GtkTextHandle *handle, context = gtk_widget_get_style_context (widget); gtk_style_context_get (context, - gtk_style_context_get_state (context), - "min-width", - width, NULL); - - - gtk_style_context_get (context, - gtk_style_context_get_state (context), - "min-height", - height, NULL); + "min-width", width, + "min-height", height, + NULL); } static void |