summaryrefslogtreecommitdiff
path: root/mate-dictionary/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 18:16:49 +0200
committerraveit65 <[email protected]>2021-11-24 22:38:06 +0100
commit988e071b6bb8c358f44fa4f243af38db260c4888 (patch)
treef6766f33f7c1689a7feb07b6b1a5e5731ec9e65b /mate-dictionary/src
parent3d70c8ec7b5b3847fe906974dc178d03a05bdaf7 (diff)
downloadmate-utils-988e071b6bb8c358f44fa4f243af38db260c4888.tar.bz2
mate-utils-988e071b6bb8c358f44fa4f243af38db260c4888.tar.xz
Use a blank line at most
Diffstat (limited to 'mate-dictionary/src')
-rw-r--r--mate-dictionary/src/gdict-aligned-window.c4
-rw-r--r--mate-dictionary/src/gdict-app.c4
-rw-r--r--mate-dictionary/src/gdict-applet.c1
-rw-r--r--mate-dictionary/src/gdict-pref-dialog.c2
-rw-r--r--mate-dictionary/src/gdict-source-dialog.c1
-rw-r--r--mate-dictionary/src/gdict-window.c3
6 files changed, 0 insertions, 15 deletions
diff --git a/mate-dictionary/src/gdict-aligned-window.c b/mate-dictionary/src/gdict-aligned-window.c
index c20c7dbe..ed2a08fe 100644
--- a/mate-dictionary/src/gdict-aligned-window.c
+++ b/mate-dictionary/src/gdict-aligned-window.c
@@ -64,11 +64,8 @@ static gboolean gdict_aligned_window_motion_notify_cb (GtkWidget *widget,
GdkEventMotion *event,
GdictAlignedWindow *aligned_window);
-
G_DEFINE_TYPE_WITH_PRIVATE (GdictAlignedWindow, gdict_aligned_window, GTK_TYPE_WINDOW);
-
-
static void
gdict_aligned_window_class_init (GdictAlignedWindowClass *klass)
{
@@ -257,7 +254,6 @@ gdict_aligned_window_motion_notify_cb (GtkWidget *widget,
return FALSE;
}
-
/**
* gdict_aligned_window_new:
* @align_widget: a #GtkWidget to which the window should align
diff --git a/mate-dictionary/src/gdict-app.c b/mate-dictionary/src/gdict-app.c
index 03f9cd6a..dd9f3a97 100644
--- a/mate-dictionary/src/gdict-app.c
+++ b/mate-dictionary/src/gdict-app.c
@@ -37,17 +37,13 @@
static GdictApp *singleton = NULL;
-
struct _GdictAppClass
{
GObjectClass parent_class;
};
-
-
G_DEFINE_TYPE (GdictApp, gdict_app, G_TYPE_OBJECT);
-
static void
gdict_app_finalize (GObject *object)
{
diff --git a/mate-dictionary/src/gdict-applet.c b/mate-dictionary/src/gdict-applet.c
index 83f247ca..26a76cf0 100644
--- a/mate-dictionary/src/gdict-applet.c
+++ b/mate-dictionary/src/gdict-applet.c
@@ -95,7 +95,6 @@ struct _GdictAppletPrivate
G_DEFINE_TYPE_WITH_PRIVATE (GdictApplet, gdict_applet, PANEL_TYPE_APPLET);
-
static void
set_atk_name_description (GtkWidget *widget,
const char *name,
diff --git a/mate-dictionary/src/gdict-pref-dialog.c b/mate-dictionary/src/gdict-pref-dialog.c
index de7b1ae8..5552ebec 100644
--- a/mate-dictionary/src/gdict-pref-dialog.c
+++ b/mate-dictionary/src/gdict-pref-dialog.c
@@ -97,10 +97,8 @@ enum
PROP_SOURCE_LOADER
};
-
G_DEFINE_TYPE (GdictPrefDialog, gdict_pref_dialog, GTK_TYPE_DIALOG);
-
static gboolean
select_active_source_name (GtkTreeModel *model,
GtkTreePath *path,
diff --git a/mate-dictionary/src/gdict-source-dialog.c b/mate-dictionary/src/gdict-source-dialog.c
index 8b125f0b..d8fefb64 100644
--- a/mate-dictionary/src/gdict-source-dialog.c
+++ b/mate-dictionary/src/gdict-source-dialog.c
@@ -401,7 +401,6 @@ save_source (GdictSourceDialog *dialog)
gdict_source_set_strategy (source, text);
g_free (text);
-
/* get the selected transport id */
transport = dialog->transport;
switch (transport)
diff --git a/mate-dictionary/src/gdict-window.c b/mate-dictionary/src/gdict-window.c
index 067a2534..1a37e42d 100644
--- a/mate-dictionary/src/gdict-window.c
+++ b/mate-dictionary/src/gdict-window.c
@@ -96,11 +96,8 @@ static const GtkTargetEntry drop_types[] =
};
static const guint n_drop_types = G_N_ELEMENTS (drop_types);
-
-
G_DEFINE_TYPE (GdictWindow, gdict_window, GTK_TYPE_WINDOW);
-
static void
gdict_window_finalize (GObject *gobject)
{