<commit_before>From b7ce8de6d7b964eef99aa46ee90a09605acdd5ed Mon Sep 17 00:00:00 2001
From: <NAME> <<EMAIL>>
Date: Fri, 1 Jun 2012 13:08:26 +0200
Subject: [PATCH 13/68] GtkScrolledWindow: add overlay scrollbars

based on code from gnome-builder by <NAME>.
---
 gtk/Makefile.am         |    4 +
 gtk/gb-animation.c      |  998 +++++++++++++++++++++++++++++++++++++++++++++++
 gtk/gb-animation.h      |   87 +++++
 gtk/gb-frame-source.c   |  134 +++++++
 gtk/gb-frame-source.h   |   32 ++
 gtk/gtkscrolledwindow.c |  577 +++++++++++++++++++++++++--
 6 files changed, 1806 insertions(+), 26 deletions(-)
 create mode 100644 gtk/gb-animation.c
 create mode 100644 gtk/gb-animation.h
 create mode 100644 gtk/gb-frame-source.c
 create mode 100644 gtk/gb-frame-source.h

diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 7fbe429..31dfd19 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -361,6 +361,8 @@ gtk_semi_private_h_sources =    \
 
 # GTK+ header files that don't get installed
 gtk_private_h_sources =		\
+	gb-animation.h		\
+	gb-frame-source.h	\
 	gtkquery.h		\
 	gtksearchengine.h	\
 	gtksearchenginesimple.h	\
@@ -411,6 +413,8 @@ gtk_private_h_sources =		\
 
 # GTK+ C sources to build the library from
 gtk_base_c_sources =            \
+	gb-animation.c		\
+	gb-frame-source.c	\
 	gtkquery.c		\
 	gtksearchengine.c	\
 	gtksearchenginesimple.c	\
diff --git a/gtk/gb-animation.c b/gtk/gb-animation.c
new file mode 100644
index 0000000..9452b4a
--- /dev/null
+++ b/gtk/gb-animation.c
@@ -0,0 +1,998 @@
+/* gb-animation.c
+ *
+ * Copyright (C) 2010 <NAME> <<EMAIL>>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <glib/gi18n.h>
+#include <gobject/gvaluecollector.h>
+#include <gtk/gtk.h>
+#include <string.h>
+
+#include "gb-animation.h"
+#include "gb-frame-source.h"
+
+G_DEFINE_TYPE(GbAnimation, _gb_animation, G_TYPE_INITIALLY_UNOWNED)
+<commit_msg>Updated license of the gb-animation.c code to LGPLv2.1<commit_after>From b7ce8de6d7b964eef99aa46ee90a09605acdd5ed Mon Sep 17 00:00:00 2001
From: <NAME> <<EMAIL>>
Date: Fri, 1 Jun 2012 13:08:26 +0200
Subject: [PATCH 13/68] GtkScrolledWindow: add overlay scrollbars

based on code from gnome-builder by <NAME>.
---
 gtk/Makefile.am         |    4 +
 gtk/gb-animation.c      |  998 +++++++++++++++++++++++++++++++++++++++++++++++
 gtk/gb-animation.h      |   87 +++++
 gtk/gb-frame-source.c   |  134 +++++++
 gtk/gb-frame-source.h   |   32 ++
 gtk/gtkscrolledwindow.c |  577 +++++++++++++++++++++++++--
 6 files changed, 1806 insertions(+), 26 deletions(-)
 create mode 100644 gtk/gb-animation.c
 create mode 100644 gtk/gb-animation.h
 create mode 100644 gtk/gb-frame-source.c
 create mode 100644 gtk/gb-frame-source.h

diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 7fbe429..31dfd19 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -361,6 +361,8 @@ gtk_semi_private_h_sources =    \
 
 # GTK+ header files that don't get installed
 gtk_private_h_sources =		\
+	gb-animation.h		\
+	gb-frame-source.h	\
 	gtkquery.h		\
 	gtksearchengine.h	\
 	gtksearchenginesimple.h	\
@@ -411,6 +413,8 @@ gtk_private_h_sources =		\
 
 # GTK+ C sources to build the library from
 gtk_base_c_sources =            \
+	gb-animation.c		\
+	gb-frame-source.c	\
 	gtkquery.c		\
 	gtksearchengine.c	\
 	gtksearchenginesimple.c	\
diff --git a/gtk/gb-animation.c b/gtk/gb-animation.c
new file mode 100644
index 0000000..9452b4a
--- /dev/null
+++ b/gtk/gb-animation.c
@@ -0,0 +1,998 @@
+/* gb-animation.c
+ *
+ * Copyright (C) 2010 <NAME> <<EMAIL>>
+ *
+ * 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 program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public icense along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#include <glib/gi18n.h>
+#include <gobject/gvaluecollector.h>
+#include <gtk/gtk.h>
+#include <string.h>
+
+#include "gb-animation.h"
+#include "gb-frame-source.h"
+
+G_DEFINE_TYPE(GbAnimation, _gb_animation, G_TYPE_INITIALLY_UNOWNED)
+
{'fraction_non_alphanumeric': 0.15313905730490907, 'fraction_numerical': 0.06375904557011539, 'mean_word_length': 3.5216622458001767, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2498837', 'n_tokens_mistral': 2177, 'n_tokens_neox': 1851, 'n_words': 507}