[recipes] Drop the all_headers function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Drop the all_headers function
- Date: Sun, 28 May 2017 01:37:32 +0000 (UTC)
commit 5d57d1ab58675812724cc78666013e1caa974844
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 27 21:36:51 2017 -0400
Drop the all_headers function
It is no longer used anywhere.
src/gr-utils.c | 15 ---------------
src/gr-utils.h | 4 ----
2 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/src/gr-utils.c b/src/gr-utils.c
index 79c149a..9a23eb3 100644
--- a/src/gr-utils.c
+++ b/src/gr-utils.c
@@ -425,21 +425,6 @@ dialog:
return FALSE;
}
-void
-all_headers (GtkListBoxRow *row,
- GtkListBoxRow *before,
- gpointer user_data)
-{
- GtkWidget *header;
-
- header = gtk_list_box_row_get_header (row);
- if (header)
- return;
-
- header = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
- gtk_list_box_row_set_header (row, header);
-}
-
#ifdef GDK_WINDOWING_WAYLAND
typedef struct {
GtkWindow *window;
diff --git a/src/gr-utils.h b/src/gr-utils.h
index 3367ef6..3e5977f 100644
--- a/src/gr-utils.h
+++ b/src/gr-utils.h
@@ -61,10 +61,6 @@ gboolean in_flatpak_sandbox (void);
gboolean portal_available (GtkWindow *window,
const char *portal);
-void all_headers (GtkListBoxRow *row,
- GtkListBoxRow *before,
- gpointer user_data);
-
typedef void (*WindowHandleExported) (GtkWindow *window,
const char *handle,
gpointer user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]