diff options
author | rbuj <[email protected]> | 2020-02-29 15:39:01 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-03-25 12:40:29 +0100 |
commit | fbcbacb489100dbb876de3b2f5226f87e8f10092 (patch) | |
tree | 3baff19256d500cc3fd52bd848415faa623c9e60 /src/gtk-utils.c | |
parent | 05e729bf081b377db659c5a98fc7ef912eb5f092 (diff) | |
download | engrampa-fbcbacb489100dbb876de3b2f5226f87e8f10092.tar.bz2 engrampa-fbcbacb489100dbb876de3b2f5226f87e8f10092.tar.xz |
gtk-utils: Remove _gtk_count_selected
Diffstat (limited to 'src/gtk-utils.c')
-rw-r--r-- | src/gtk-utils.c | 23 |
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, |