summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--baobab/src/baobab-chart.c5
-rw-r--r--baobab/src/baobab-remote-connect-dialog.c4
-rw-r--r--baobab/src/baobab-ringschart.c1
-rw-r--r--baobab/src/baobab-scan.c1
-rw-r--r--baobab/src/callbacks.c1
-rw-r--r--gsearchtool/src/gsearchtool-callbacks.c2
-rw-r--r--gsearchtool/src/gsearchtool-support.c2
-rw-r--r--gsearchtool/src/gsearchtool.c1
-rw-r--r--logview/src/logview-loglist.c1
-rw-r--r--logview/src/logview-window.c1
-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
-rw-r--r--mate-screenshot/src/mate-screenshot.c3
-rw-r--r--mate-screenshot/src/screenshot-dialog.c1
-rw-r--r--mate-screenshot/src/screenshot-utils.c1
25 files changed, 0 insertions, 61 deletions
diff --git a/baobab/src/baobab-chart.c b/baobab/src/baobab-chart.c
index e32f764c..d8350511 100644
--- a/baobab/src/baobab-chart.c
+++ b/baobab/src/baobab-chart.c
@@ -167,7 +167,6 @@ static gboolean baobab_chart_query_tooltip (GtkWidget *widget,
GtkTooltip *tooltip,
gpointer user_data);
-
static void
baobab_chart_class_init (BaobabChartClass *class)
{
@@ -523,8 +522,6 @@ baobab_chart_get_items (GtkWidget *chart, GtkTreePath *root)
return;
}
-
-
model_root_path = gtk_tree_path_new_first ();
gtk_tree_model_get_iter (priv->model, &model_root_iter, model_root_path);
gtk_tree_path_free (model_root_path);
@@ -657,7 +654,6 @@ baobab_chart_update_draw (BaobabChart* chart,
if (priv->root == NULL)
root_path = gtk_tree_path_new_first ();
-
root_depth = gtk_tree_path_get_depth (root_path);
node_depth = gtk_tree_path_get_depth (path);
@@ -1182,7 +1178,6 @@ baobab_chart_get_pixbuf (GtkWidget *widget)
w = gdk_window_get_width(gtk_widget_get_window(widget));
h = gdk_window_get_height(gtk_widget_get_window(widget));
-
pixbuf = gdk_pixbuf_get_from_window (
gtk_widget_get_window (widget),
0, 0,
diff --git a/baobab/src/baobab-remote-connect-dialog.c b/baobab/src/baobab-remote-connect-dialog.c
index 826d6389..10d9f940 100644
--- a/baobab/src/baobab-remote-connect-dialog.c
+++ b/baobab/src/baobab-remote-connect-dialog.c
@@ -34,7 +34,6 @@
#include "baobab.h"
-
/* Translators: all the strings in this file are meant to map the
similar strings inside caja-connect-server and should be
translated the same way
@@ -56,7 +55,6 @@ G_DEFINE_TYPE(BaobabRemoteConnectDialog, baobab_remote_connect_dialog, GTK_TYPE_
#define RESPONSE_CONNECT GTK_RESPONSE_OK
-
static void
display_error_dialog (GError *error,
GFile *location,
@@ -653,7 +651,6 @@ baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog)
1, get_method_description (&(methods[i])),
-1);
-
if (methods[i].flags & DEFAULT_METHOD) {
gtk_combo_box_set_active_iter (GTK_COMBO_BOX (combo), &iter);
}
@@ -682,7 +679,6 @@ baobab_remote_connect_dialog_init (BaobabRemoteConnectDialog *dialog)
gtk_box_pack_start (GTK_BOX (hbox),
label, FALSE, FALSE, 0);
-
dialog->details->grid = grid = gtk_grid_new ();
gtk_grid_set_row_spacing (GTK_GRID (grid), 6);
gtk_grid_set_column_spacing (GTK_GRID (grid), 12);
diff --git a/baobab/src/baobab-ringschart.c b/baobab/src/baobab-ringschart.c
index 921e9f1b..7b568673 100644
--- a/baobab/src/baobab-ringschart.c
+++ b/baobab/src/baobab-ringschart.c
@@ -96,7 +96,6 @@ static void baobab_ringschart_get_item_rectangle (GtkWidget *chart,
static void baobab_ringschart_pre_draw (GtkWidget *chart, cairo_t *cr);
static void baobab_ringschart_post_draw (GtkWidget *chart, cairo_t *cr);
-
static void
baobab_ringschart_class_init (BaobabRingschartClass *class)
{
diff --git a/baobab/src/baobab-scan.c b/baobab/src/baobab-scan.c
index 0eab2ddd..f79b9223 100644
--- a/baobab/src/baobab-scan.c
+++ b/baobab/src/baobab-scan.c
@@ -142,7 +142,6 @@ static const char *dir_attributes = \
G_FILE_ATTRIBUTE_UNIX_DEVICE "," \
G_FILE_ATTRIBUTE_ACCESS_CAN_READ;
-
static gboolean
is_in_dot_gvfs (GFile *file)
{
diff --git a/baobab/src/callbacks.c b/baobab/src/callbacks.c
index 7063219a..7e8ad638 100644
--- a/baobab/src/callbacks.c
+++ b/baobab/src/callbacks.c
@@ -90,7 +90,6 @@ on_about_activate (GtkMenuItem *menuitem, gpointer user_data)
"along with this program. If not, see <https://www.gnu.org/licenses/>.")
};
-
gchar* license_trans = g_strjoin("\n\n", _(license[0]), _(license[1]), _(license[2]), NULL);
#ifdef ENABLE_NLS
diff --git a/gsearchtool/src/gsearchtool-callbacks.c b/gsearchtool/src/gsearchtool-callbacks.c
index 7b043e57..35ee55bc 100644
--- a/gsearchtool/src/gsearchtool-callbacks.c
+++ b/gsearchtool/src/gsearchtool-callbacks.c
@@ -329,7 +329,6 @@ look_in_folder_changed_cb (GtkWidget * widget,
g_free (value);
}
-
static gint
display_dialog_file_open_limit (GtkWidget * window,
gint count)
@@ -1711,7 +1710,6 @@ drag_file_cb (GtkWidget * widget,
g_free (uri_list);
}
-
void
show_file_selector_cb (GtkAction * action,
gpointer data)
diff --git a/gsearchtool/src/gsearchtool-support.c b/gsearchtool/src/gsearchtool-support.c
index adffd25f..63063b4c 100644
--- a/gsearchtool/src/gsearchtool-support.c
+++ b/gsearchtool/src/gsearchtool-support.c
@@ -744,8 +744,6 @@ get_themed_icon_pixbuf (GThemedIcon * icon,
return pixbuf;
}
-
-
GdkPixbuf *
get_file_pixbuf (GSearchWindow * gsearch,
GFileInfo * file_info)
diff --git a/gsearchtool/src/gsearchtool.c b/gsearchtool/src/gsearchtool.c
index d05f25b5..f3b8ca69 100644
--- a/gsearchtool/src/gsearchtool.c
+++ b/gsearchtool/src/gsearchtool.c
@@ -2906,7 +2906,6 @@ gsearch_app_create (GSearchWindow * gsearch)
"use-underline", TRUE,
NULL));
-
gtk_widget_set_can_default (button, TRUE);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_button_box_set_child_secondary (GTK_BUTTON_BOX (hbox), button, TRUE);
diff --git a/logview/src/logview-loglist.c b/logview/src/logview-loglist.c
index 057fc88d..28eebdfa 100644
--- a/logview/src/logview-loglist.c
+++ b/logview/src/logview-loglist.c
@@ -169,7 +169,6 @@ log_changed_cb (LogviewLog *log,
gtk_tree_iter_free (iter);
}
-
static void
tree_selection_changed_cb (GtkTreeSelection *selection,
gpointer user_data)
diff --git a/logview/src/logview-window.c b/logview/src/logview-window.c
index 2c9de5b9..dac3d507 100644
--- a/logview/src/logview-window.c
+++ b/logview/src/logview-window.c
@@ -1546,4 +1546,3 @@ logview_window_add_errors (LogviewWindow *window,
g_free (secondary);
}
-
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)
{
diff --git a/mate-screenshot/src/mate-screenshot.c b/mate-screenshot/src/mate-screenshot.c
index e88fc6c4..2c2449c2 100644
--- a/mate-screenshot/src/mate-screenshot.c
+++ b/mate-screenshot/src/mate-screenshot.c
@@ -760,7 +760,6 @@ screenshot_dialog_response_cb (GtkDialog *d,
}
}
-
static void
run_dialog (ScreenshotDialog *dialog)
{
@@ -1113,7 +1112,6 @@ prepare_screenshot_timeout (gpointer data)
return FALSE;
}
-
static gchar *
get_desktop_dir (void)
{
@@ -1217,7 +1215,6 @@ save_options (void)
BORDER_EFFECT_KEY, border_effect);
}
-
static void
register_screenshooter_icon (GtkIconFactory * factory)
{
diff --git a/mate-screenshot/src/screenshot-dialog.c b/mate-screenshot/src/screenshot-dialog.c
index facf7d54..da1a1694 100644
--- a/mate-screenshot/src/screenshot-dialog.c
+++ b/mate-screenshot/src/screenshot-dialog.c
@@ -167,7 +167,6 @@ drag_begin (GtkWidget *widget,
dialog->drag_x, dialog->drag_y);
}
-
ScreenshotDialog *
screenshot_dialog_new (GdkPixbuf *screenshot,
char *initial_uri,
diff --git a/mate-screenshot/src/screenshot-utils.c b/mate-screenshot/src/screenshot-utils.c
index b0b4fe94..6ee457c9 100644
--- a/mate-screenshot/src/screenshot-utils.c
+++ b/mate-screenshot/src/screenshot-utils.c
@@ -314,7 +314,6 @@ select_area_key_press (GtkWidget *window,
return TRUE;
}
-
static gboolean
draw (GtkWidget *window, cairo_t *cr, gpointer unused)
{