diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-20 00:38:08 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-28 20:25:16 +0000 |
commit | 302d2a04aebb3d97829b17ca4f27fe62234d2de8 (patch) | |
tree | 003a114695f30ea40b8f759a2c8f819ad18d1bd0 /gtk/gtkmnemonichash.c | |
parent | 9765aabebd5ed699f254155b68109a1bba4fb51f (diff) | |
download | gtk+-302d2a04aebb3d97829b17ca4f27fe62234d2de8.tar.gz |
Stop using gtk_widget_get_surface
Replace all uses of gtk_widget_get_surface by
gtk_native_get_surface.
Diffstat (limited to 'gtk/gtkmnemonichash.c')
-rw-r--r-- | gtk/gtkmnemonichash.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkmnemonichash.c b/gtk/gtkmnemonichash.c index 03488e2887..e6504842e1 100644 --- a/gtk/gtkmnemonichash.c +++ b/gtk/gtkmnemonichash.c @@ -17,7 +17,10 @@ * License along with this library. If not, see <http://www.gnu.org/licenses/>. */ +#include "config.h" + #include "gtkmnemonichash.h" +#include "gtknative.h" struct _GtkMnemnonicHash { @@ -124,7 +127,7 @@ _gtk_mnemonic_hash_activate (GtkMnemonicHash *mnemonic_hash, for (list = targets; list; list = list->next) { widget = GTK_WIDGET (list->data); - surface = gtk_widget_get_surface (widget); + surface = gtk_native_get_surface (gtk_widget_get_native (widget)); if (gtk_widget_is_sensitive (widget) && gtk_widget_get_mapped (widget) && |