Rename gtkkineticscrolling.h to gtkkineticscrollingprivate.h
authorTimm Bäder <mail@baedert.org>
Wed, 28 Mar 2018 14:47:54 +0000 (16:47 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 28 Mar 2018 14:47:54 +0000 (16:47 +0200)
To match the naming scheme we use for all private header files.

gtk/gtkkineticscrolling.c
gtk/gtkkineticscrolling.h [deleted file]
gtk/gtkkineticscrollingprivate.h [new file with mode: 0644]
gtk/gtkscrolledwindow.c

index deb953d6f0795d7c542abe6f4655d4bc97fb1e98..7acd0966801dc23bb4791a6a2d6c124c4021af62 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #include "config.h"
-#include "gtkkineticscrolling.h"
+#include "gtkkineticscrollingprivate.h"
 
 #include <stdio.h>
 
diff --git a/gtk/gtkkineticscrolling.h b/gtk/gtkkineticscrolling.h
deleted file mode 100644 (file)
index 92883b8..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/* GTK - The GIMP Toolkit
- *
- * Copyright (C) 2014 Lieven van der Heide
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef __GTK_KINETIC_SCROLLING_H__
-#define __GTK_KINETIC_SCROLLING_H__
-
-#include <glib.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GtkKineticScrolling GtkKineticScrolling;
-
-GtkKineticScrolling *    gtk_kinetic_scrolling_new  (gdouble               lower,
-                                                     gdouble               upper,
-                                                     gdouble               overshoot_width,
-                                                     gdouble               decel_friction,
-                                                     gdouble               overshoot_friction,
-                                                     gdouble               initial_position,
-                                                     gdouble               initial_velocity);
-void                     gtk_kinetic_scrolling_free (GtkKineticScrolling  *kinetic);
-
-gboolean                 gtk_kinetic_scrolling_tick (GtkKineticScrolling  *data,
-                                                     gdouble               time_delta,
-                                                     gdouble              *position);
-
-G_END_DECLS
-
-#endif /* __GTK_KINETIC_SCROLLING_H__ */
diff --git a/gtk/gtkkineticscrollingprivate.h b/gtk/gtkkineticscrollingprivate.h
new file mode 100644 (file)
index 0000000..92883b8
--- /dev/null
@@ -0,0 +1,43 @@
+/* GTK - The GIMP Toolkit
+ *
+ * Copyright (C) 2014 Lieven van der Heide
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GTK_KINETIC_SCROLLING_H__
+#define __GTK_KINETIC_SCROLLING_H__
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+typedef struct _GtkKineticScrolling GtkKineticScrolling;
+
+GtkKineticScrolling *    gtk_kinetic_scrolling_new  (gdouble               lower,
+                                                     gdouble               upper,
+                                                     gdouble               overshoot_width,
+                                                     gdouble               decel_friction,
+                                                     gdouble               overshoot_friction,
+                                                     gdouble               initial_position,
+                                                     gdouble               initial_velocity);
+void                     gtk_kinetic_scrolling_free (GtkKineticScrolling  *kinetic);
+
+gboolean                 gtk_kinetic_scrolling_tick (GtkKineticScrolling  *data,
+                                                     gdouble               time_delta,
+                                                     gdouble              *position);
+
+G_END_DECLS
+
+#endif /* __GTK_KINETIC_SCROLLING_H__ */
index 496c5eed952669e479c1252348122efd232817d6..b5e1a6476c9475394d372056e74c38af69094e66 100644 (file)
@@ -38,7 +38,7 @@
 #include "gtkgesturesingle.h"
 #include "gtkgestureswipe.h"
 #include "gtkintl.h"
-#include "gtkkineticscrolling.h"
+#include "gtkkineticscrollingprivate.h"
 #include "gtkmain.h"
 #include "gtkmarshalers.h"
 #include "gtkprivate.h"