summaryrefslogtreecommitdiff
path: root/src/eggtreemultidnd.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:40:17 +0200
committerraveit65 <[email protected]>2021-12-11 15:59:33 +0100
commit6c55334ad9b03006686e2db6c6f6167677a2f510 (patch)
treeb558cc0ad6d97c36b449dbcb2afecb3b9002a565 /src/eggtreemultidnd.c
parent85909393571d91b3c267afe5341e54bfae5a6d50 (diff)
downloadengrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.bz2
engrampa-6c55334ad9b03006686e2db6c6f6167677a2f510.tar.xz
Use a blank line at most
Diffstat (limited to 'src/eggtreemultidnd.c')
-rw-r--r--src/eggtreemultidnd.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/eggtreemultidnd.c b/src/eggtreemultidnd.c
index 87ad555..720c352 100644
--- a/src/eggtreemultidnd.c
+++ b/src/eggtreemultidnd.c
@@ -24,7 +24,6 @@
* Boston, MA 02110-1301, USA.
*/
-
#include <string.h>
#include <gtk/gtk.h>
#include "eggtreemultidnd.h"
@@ -48,7 +47,6 @@ typedef struct
gboolean pending_event;
} EggTreeMultiDndData;
-
GType
egg_tree_multi_drag_source_get_type (void)
{
@@ -79,7 +77,6 @@ egg_tree_multi_drag_source_get_type (void)
return our_type;
}
-
/**
* egg_tree_multi_drag_source_row_draggable:
* @drag_source: a #EggTreeMultiDragSource
@@ -107,7 +104,6 @@ egg_tree_multi_drag_source_row_draggable (EggTreeMultiDragSource *drag_source,
return TRUE;
}
-
/**
* egg_tree_multi_drag_source_drag_data_delete:
* @drag_source: a #EggTreeMultiDragSource
@@ -134,7 +130,6 @@ egg_tree_multi_drag_source_drag_data_delete (EggTreeMultiDragSource *drag_source
return (* iface->drag_data_delete) (drag_source, path_list);
}
-
/**
* egg_tree_multi_drag_source_drag_data_get:
* @drag_source: a #EggTreeMultiDragSource
@@ -164,7 +159,6 @@ egg_tree_multi_drag_source_drag_data_get (EggTreeMultiDragSource *drag_source,
return (* iface->drag_data_get) (drag_source, context, selection_data, path_list);
}
-
static void
stop_drag_check (GtkWidget *widget)
{
@@ -190,7 +184,6 @@ stop_drag_check (GtkWidget *widget)
}
}
-
static gboolean
egg_tree_multi_drag_button_release_event (GtkWidget *widget,
GdkEventButton *event,
@@ -209,7 +202,6 @@ egg_tree_multi_drag_button_release_event (GtkWidget *widget,
return FALSE;
}
-
static void
selection_foreach (GtkTreeModel *model,
GtkTreePath *path,
@@ -223,7 +215,6 @@ selection_foreach (GtkTreeModel *model,
*list_ptr = g_list_prepend (*list_ptr, gtk_tree_row_reference_new (model, path));
}
-
static void
path_list_free (GList *path_list)
{
@@ -231,7 +222,6 @@ path_list_free (GList *path_list)
g_list_free (path_list);
}
-
static void
set_context_data (GdkDragContext *context,
GList *path_list)
@@ -242,7 +232,6 @@ set_context_data (GdkDragContext *context,
(GDestroyNotify) path_list_free);
}
-
static GList *
get_context_data (GdkDragContext *context)
{
@@ -250,7 +239,6 @@ get_context_data (GdkDragContext *context)
"egg-tree-view-multi-source-row");
}
-
static gboolean
egg_tree_multi_drag_drag_data_get (GtkWidget *widget,
GdkDragContext *context,
@@ -285,7 +273,6 @@ egg_tree_multi_drag_drag_data_get (GtkWidget *widget,
path_list);
}
-
static gboolean
egg_tree_multi_drag_motion_event (GtkWidget *widget,
GdkEventMotion *event,
@@ -364,7 +351,6 @@ egg_tree_multi_drag_motion_event (GtkWidget *widget,
return TRUE;
}
-
static gboolean
egg_tree_multi_drag_button_press_event (GtkWidget *widget,
GdkEventButton *event,
@@ -471,7 +457,6 @@ egg_tree_multi_drag_button_press_event (GtkWidget *widget,
return FALSE;
}
-
void
egg_tree_multi_drag_add_drag_support (GtkTreeView *tree_view)
{