summaryrefslogtreecommitdiff
path: root/src/gtk/nautilusgtkplacesviewrow.c
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2021-12-13 22:18:00 +0000
committerAntónio Fernandes <antoniof@gnome.org>2021-12-29 12:57:58 +0000
commit7bf5ab0c73d5027dbe754df34243054a83ffae1b (patch)
tree5d596c5f5a68c88f75c146152a96e362b846756a /src/gtk/nautilusgtkplacesviewrow.c
parentbfc9d4ed4e19e9c76ab715a433a8c800a2e6423d (diff)
downloadnautilus-7bf5ab0c73d5027dbe754df34243054a83ffae1b.tar.gz
general: Use in-tree copy of GtkPlacesSidebar
GtkPlacesSidebar is a public GTK 3 widget, but private in GTK 4, so we need to have the sidebar in our own codebase if we are to keep using it. Extend the script already in use for the places view and use it to copy the places sidebar and its dependencies and patch it as necessary. Also, construct it from code, because this in-tree places sidebar cannot be used in a GtkBuilder UI template.
Diffstat (limited to 'src/gtk/nautilusgtkplacesviewrow.c')
-rw-r--r--src/gtk/nautilusgtkplacesviewrow.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gtk/nautilusgtkplacesviewrow.c b/src/gtk/nautilusgtkplacesviewrow.c
index 121c5823b..f07dd4e70 100644
--- a/src/gtk/nautilusgtkplacesviewrow.c
+++ b/src/gtk/nautilusgtkplacesviewrow.c
@@ -29,14 +29,6 @@
* instead of including gtk.h
*/
#ifdef GTK_COMPILATION
-#include "gtkbutton.h"
-#include "gtkeventbox.h"
-#include "gtkimage.h"
-#include "gtkintl.h"
-#include "gtklabel.h"
-#include "gtkspinner.h"
-#include "gtkstack.h"
-#include "gtktypebuiltins.h"
#else
#include <gtk/gtk.h>
#endif