summaryrefslogtreecommitdiff
path: root/src/gtk-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk-utils.c')
-rw-r--r--src/gtk-utils.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index 7a6ce1d..263773a 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -28,29 +28,6 @@
#define LOAD_BUFFER_SIZE 65536
-static void
-count_selected (GtkTreeModel *model,
- GtkTreePath *path,
- GtkTreeIter *iter,
- gpointer data)
-{
- int *n = data;
- *n = *n + 1;
-}
-
-
-int
-_gtk_count_selected (GtkTreeSelection *selection)
-{
- int n = 0;
-
- if (selection == NULL)
- return 0;
- gtk_tree_selection_selected_foreach (selection, count_selected, &n);
- return n;
-}
-
-
GtkWidget*
_gtk_message_dialog_new (GtkWindow *parent,
GtkDialogFlags flags,