summaryrefslogtreecommitdiff
path: root/baobab
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 /baobab
parent3d70c8ec7b5b3847fe906974dc178d03a05bdaf7 (diff)
downloadmate-utils-988e071b6bb8c358f44fa4f243af38db260c4888.tar.bz2
mate-utils-988e071b6bb8c358f44fa4f243af38db260c4888.tar.xz
Use a blank line at most
Diffstat (limited to 'baobab')
-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
5 files changed, 0 insertions, 12 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