[gtk/matthiasc/for-master: 1/2] Cosmetics: Eradicate gdouble




commit 3ab97fac1fcc32c2fb929d5b29219661aff3ccfb
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 3 14:38:17 2021 -0400

    Cosmetics: Eradicate gdouble
    
    Remove 3 errant uses of gdouble.

 demos/gtk-demo/gtkshadertoy.c | 4 ++--
 gtk/a11y/gtkatspitextbuffer.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/demos/gtk-demo/gtkshadertoy.c b/demos/gtk-demo/gtkshadertoy.c
index 7d8c4926f6..c45aa158d2 100644
--- a/demos/gtk-demo/gtkshadertoy.c
+++ b/demos/gtk-demo/gtkshadertoy.c
@@ -163,8 +163,8 @@ drag_update_cb (GtkGestureDrag *drag,
 
 static void
 drag_end_cb (GtkGestureDrag *drag,
-             gdouble         dx,
-             gdouble         dy,
+             double          dx,
+             double          dy,
              gpointer        user_data)
 {
   GtkShadertoy *shadertoy = GTK_SHADERTOY (user_data);
diff --git a/gtk/a11y/gtkatspitextbuffer.c b/gtk/a11y/gtkatspitextbuffer.c
index b7a8b22090..61e240fb0d 100644
--- a/gtk/a11y/gtkatspitextbuffer.c
+++ b/gtk/a11y/gtkatspitextbuffer.c
@@ -149,7 +149,7 @@ gtk_text_buffer_get_run_attributes (GtkTextBuffer   *buffer,
 {
   GtkTextIter iter;
   GSList *tags, *temp_tags;
-  gdouble scale = 1;
+  double scale = 1;
   gboolean val_set = FALSE;
 
   gtk_text_buffer_get_iter_at_offset (buffer, &iter, offset);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]