summaryrefslogtreecommitdiff
path: root/mate-dictionary
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary')
-rw-r--r--mate-dictionary/libgdict/gdict-client-context.c3
-rw-r--r--mate-dictionary/libgdict/gdict-context.c11
-rw-r--r--mate-dictionary/libgdict/gdict-database-chooser.c1
-rw-r--r--mate-dictionary/libgdict/gdict-source-loader.c3
-rw-r--r--mate-dictionary/libgdict/gdict-source.c3
-rw-r--r--mate-dictionary/libgdict/gdict-speller.c1
-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
12 files changed, 0 insertions, 37 deletions
diff --git a/mate-dictionary/libgdict/gdict-client-context.c b/mate-dictionary/libgdict/gdict-client-context.c
index db35fa4b..c52148f6 100644
--- a/mate-dictionary/libgdict/gdict-client-context.c
+++ b/mate-dictionary/libgdict/gdict-client-context.c
@@ -239,8 +239,6 @@ static void gdict_client_context_real_disconnected (GdictClientContext *con
static GdictCommand *gdict_command_new (GdictCommandType cmd_type);
static void gdict_command_free (GdictCommand *cmd);
-
-
GQuark
gdict_client_context_error_quark (void)
{
@@ -1902,7 +1900,6 @@ gdict_client_context_connect (GdictClientContext *context,
#endif
((struct sockaddr_in *) &priv->sockaddr)->sin_port = g_htons (priv->port);
-
#ifdef ENABLE_IPV6
if (priv->sockaddr.ss_family == AF_INET6)
{
diff --git a/mate-dictionary/libgdict/gdict-context.c b/mate-dictionary/libgdict/gdict-context.c
index a07b67dd..33b71263 100644
--- a/mate-dictionary/libgdict/gdict-context.c
+++ b/mate-dictionary/libgdict/gdict-context.c
@@ -49,10 +49,8 @@
#include "gdict-context-private.h"
#include "gdict-private.h"
-
static void gdict_context_class_init (gpointer g_iface, void *user_data);
-
GType
gdict_context_get_type (void)
{
@@ -79,7 +77,6 @@ gdict_context_get_type (void)
return context_type;
}
-
static void
gdict_context_class_init (gpointer g_iface, void *user_data)
{
@@ -413,8 +410,6 @@ gdict_context_define_word (GdictContext *context,
error);
}
-
-
/*****************
* GdictDatabase *
*****************/
@@ -523,8 +518,6 @@ gdict_database_get_full_name (GdictDatabase *db)
return db->full_name;
}
-
-
/*****************
* GdictStrategy *
*****************/
@@ -631,8 +624,6 @@ gdict_strategy_get_description (GdictStrategy *strat)
return strat->description;
}
-
-
/**************
* GdictMatch *
**************/
@@ -738,8 +729,6 @@ gdict_match_get_database (GdictMatch *match)
return match->database;
}
-
-
/*******************
* GdictDefinition *
*******************/
diff --git a/mate-dictionary/libgdict/gdict-database-chooser.c b/mate-dictionary/libgdict/gdict-database-chooser.c
index afe356fb..704d0927 100644
--- a/mate-dictionary/libgdict/gdict-database-chooser.c
+++ b/mate-dictionary/libgdict/gdict-database-chooser.c
@@ -110,7 +110,6 @@ G_DEFINE_TYPE_WITH_PRIVATE (GdictDatabaseChooser,
gdict_database_chooser,
GTK_TYPE_BOX);
-
static void
set_gdict_context (GdictDatabaseChooser *chooser,
GdictContext *context)
diff --git a/mate-dictionary/libgdict/gdict-source-loader.c b/mate-dictionary/libgdict/gdict-source-loader.c
index d2ec64ee..7a5c3aa1 100644
--- a/mate-dictionary/libgdict/gdict-source-loader.c
+++ b/mate-dictionary/libgdict/gdict-source-loader.c
@@ -75,11 +75,8 @@ enum
static guint loader_signals[LAST_SIGNAL] = { 0 };
-
-
G_DEFINE_TYPE_WITH_PRIVATE (GdictSourceLoader, gdict_source_loader, G_TYPE_OBJECT);
-
static void
gdict_source_loader_finalize (GObject *object)
{
diff --git a/mate-dictionary/libgdict/gdict-source.c b/mate-dictionary/libgdict/gdict-source.c
index 643616e0..7f7f35e4 100644
--- a/mate-dictionary/libgdict/gdict-source.c
+++ b/mate-dictionary/libgdict/gdict-source.c
@@ -111,11 +111,8 @@ gdict_source_error_quark (void)
return quark;
}
-
G_DEFINE_TYPE_WITH_PRIVATE (GdictSource, gdict_source, G_TYPE_OBJECT);
-
-
static void
gdict_source_set_property (GObject *object,
guint prop_id,
diff --git a/mate-dictionary/libgdict/gdict-speller.c b/mate-dictionary/libgdict/gdict-speller.c
index 7916d539..7392096a 100644
--- a/mate-dictionary/libgdict/gdict-speller.c
+++ b/mate-dictionary/libgdict/gdict-speller.c
@@ -181,7 +181,6 @@ gdict_speller_finalize (GObject *gobject)
G_OBJECT_CLASS (gdict_speller_parent_class)->finalize (gobject);
}
-
static void
gdict_speller_set_property (GObject *gobject,
guint prop_id,
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)
{