summaryrefslogtreecommitdiff
path: root/gtk/gtknative.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-17 17:08:01 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-17 17:17:31 -0400
commit75d931098620119e744af82d32b850e367a46701 (patch)
tree735a9eddeddefbe922a8c0df5cdc6ce45dbbf5ea /gtk/gtknative.h
parent93d4253c93c2817c1d9c27ed2c702ed400308186 (diff)
downloadgtk+-75d931098620119e744af82d32b850e367a46701.tar.gz
Change coordinate translation apis to take doubles
Change gtk_widget_translate_coordinates and gtk_native_get_surface_transform to operate on doubles. Update all callers.
Diffstat (limited to 'gtk/gtknative.h')
-rw-r--r--gtk/gtknative.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtknative.h b/gtk/gtknative.h
index 600584bad3..ba596e0e9d 100644
--- a/gtk/gtknative.h
+++ b/gtk/gtknative.h
@@ -49,8 +49,8 @@ struct _GtkNativeInterface
GskRenderer * (* get_renderer) (GtkNative *self);
void (* get_surface_transform) (GtkNative *self,
- int *x,
- int *y);
+ double *x,
+ double *y);
void (* check_resize) (GtkNative *self);
};
@@ -69,8 +69,8 @@ GskRenderer *gtk_native_get_renderer (GtkNative *self);
GDK_AVAILABLE_IN_ALL
void gtk_native_get_surface_transform (GtkNative *self,
- int *x,
- int *y);
+ double *x,
+ double *y);
G_END_DECLS