[gtk+] Fix _gtk_get_slowdown()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix _gtk_get_slowdown()
- Date: Mon, 17 Oct 2016 11:01:28 +0000 (UTC)
commit 5e388fc3e45d6feda4941979d6bfcee90fae10cf
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Oct 14 19:35:59 2016 +0100
Fix _gtk_get_slowdown()
We need to pass void as the argument type.
gtk/gtkprivate.h | 2 +-
gtk/gtkprogresstracker.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkprivate.h b/gtk/gtkprivate.h
index af130cd..1c74f62 100644
--- a/gtk/gtkprivate.h
+++ b/gtk/gtkprivate.h
@@ -92,7 +92,7 @@ gboolean _gtk_propagate_captured_event (GtkWidget *widget,
GtkWidget *topmost);
-gdouble _gtk_get_slowdown ();
+gdouble _gtk_get_slowdown (void);
void _gtk_set_slowdown (gdouble slowdown_factor);
gboolean gtk_should_use_portal (void);
diff --git a/gtk/gtkprogresstracker.c b/gtk/gtkprogresstracker.c
index c1d3f44..81cca35 100644
--- a/gtk/gtkprogresstracker.c
+++ b/gtk/gtkprogresstracker.c
@@ -45,7 +45,7 @@ _gtk_set_slowdown (gdouble factor)
}
gdouble
-_gtk_get_slowdown (gdouble factor)
+_gtk_get_slowdown (void)
{
return gtk_slowdown;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]