From: Timm Bäder Date: Wed, 28 Mar 2018 14:47:54 +0000 (+0200) Subject: Rename gtkkineticscrolling.h to gtkkineticscrollingprivate.h X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~748 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e6d104bfa06c82630215d8ecba6d644976d99ac5;p=gtk4.git Rename gtkkineticscrolling.h to gtkkineticscrollingprivate.h To match the naming scheme we use for all private header files. --- diff --git a/gtk/gtkkineticscrolling.c b/gtk/gtkkineticscrolling.c index deb953d6f0..7acd096680 100644 --- a/gtk/gtkkineticscrolling.c +++ b/gtk/gtkkineticscrolling.c @@ -16,7 +16,7 @@ */ #include "config.h" -#include "gtkkineticscrolling.h" +#include "gtkkineticscrollingprivate.h" #include diff --git a/gtk/gtkkineticscrolling.h b/gtk/gtkkineticscrolling.h deleted file mode 100644 index 92883b8c1c..0000000000 --- a/gtk/gtkkineticscrolling.h +++ /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 . - */ - -#ifndef __GTK_KINETIC_SCROLLING_H__ -#define __GTK_KINETIC_SCROLLING_H__ - -#include - -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 index 0000000000..92883b8c1c --- /dev/null +++ b/gtk/gtkkineticscrollingprivate.h @@ -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 . + */ + +#ifndef __GTK_KINETIC_SCROLLING_H__ +#define __GTK_KINETIC_SCROLLING_H__ + +#include + +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/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 496c5eed95..b5e1a6476c 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -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"