[gedit/zbrown/deteplification-src: 557/633] GeditSettings: minor code change
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 557/633] GeditSettings: minor code change
- Date: Sat, 10 Apr 2021 12:48:10 +0000 (UTC)
commit 11e50e2711826467894760e732a1867650f59fc6
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Nov 24 17:45:40 2020 +0100
GeditSettings: minor code change
More logical function order.
gedit/gedit-settings.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gedit/gedit-settings.c b/gedit/gedit-settings.c
index 5083e1ecb..1f3a97349 100644
--- a/gedit/gedit-settings.c
+++ b/gedit/gedit-settings.c
@@ -70,6 +70,15 @@ gedit_settings_finalize (GObject *object)
G_OBJECT_CLASS (gedit_settings_parent_class)->finalize (object);
}
+static void
+gedit_settings_class_init (GeditSettingsClass *klass)
+{
+ GObjectClass *object_class = G_OBJECT_CLASS (klass);
+
+ object_class->dispose = gedit_settings_dispose;
+ object_class->finalize = gedit_settings_finalize;
+}
+
static void
set_font (GeditSettings *self,
const gchar *font)
@@ -237,15 +246,6 @@ on_syntax_highlighting_changed (GSettings *settings,
g_list_free (windows);
}
-static void
-gedit_settings_class_init (GeditSettingsClass *klass)
-{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
-
- object_class->dispose = gedit_settings_dispose;
- object_class->finalize = gedit_settings_finalize;
-}
-
static void
gedit_settings_init (GeditSettings *self)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]