summaryrefslogtreecommitdiff
path: root/gtk/gtkemojichooser.c
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/gtkemojichooser.c
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/gtkemojichooser.c')
-rw-r--r--gtk/gtkemojichooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkemojichooser.c b/gtk/gtkemojichooser.c
index 6a925ebe63..9f704c87f6 100644
--- a/gtk/gtkemojichooser.c
+++ b/gtk/gtkemojichooser.c
@@ -253,7 +253,7 @@ scroll_to_child (GtkWidget *child)
GtkEmojiChooser *chooser;
GtkAdjustment *adj;
GtkAllocation alloc;
- int pos;
+ double pos;
double value;
double page_size;