summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-06-03 14:38:17 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-06-03 17:41:28 -0400
commit3ab97fac1fcc32c2fb929d5b29219661aff3ccfb (patch)
tree7472b916fc5234a57b4bca34e842d58b8d8ce4ee
parente8852c9a25c64843ad42be2e97e3226507c7f448 (diff)
downloadgtk+-3ab97fac1fcc32c2fb929d5b29219661aff3ccfb.tar.gz
Cosmetics: Eradicate gdouble
Remove 3 errant uses of gdouble.
-rw-r--r--demos/gtk-demo/gtkshadertoy.c4
-rw-r--r--gtk/a11y/gtkatspitextbuffer.c2
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);