Commit 0e5815e9 authored by Ernestas Kulik's avatar Ernestas Kulik 🦑

libnautilus-extension: add removed includes back in

Some extensions break because of weird inclusion patterns.

Fixes #252
parent bf4c431b
Pipeline #3324 passed with stage
in 7 minutes and 19 seconds
......@@ -35,6 +35,9 @@
#endif
#include <glib-object.h>
/* These should be removed at some point. */
#include "nautilus-extension-types.h"
#include "nautilus-column.h"
G_BEGIN_DECLS
......
......@@ -29,6 +29,8 @@
#endif
#include <glib-object.h>
/* This should be removed at some point. */
#include "nautilus-extension-types.h"
G_BEGIN_DECLS
......
......@@ -27,8 +27,10 @@
#ifndef NAUTILUS_EXTENSION_TYPES_H
#define NAUTILUS_EXTENSION_TYPES_H
#include <nautilus-extension.h>
#if !defined (NAUTILUS_EXTENSION_H) && !defined (NAUTILUS_COMPILATION)
#warning "This header is deprecated, include <nautilus-extension.h> instead."
#endif
#include <nautilus-extension.h>
#endif
......@@ -35,6 +35,8 @@
#include <glib-object.h>
#include "nautilus-file-info.h"
/* This should be removed at some point. */
#include "nautilus-extension-types.h"
G_BEGIN_DECLS
......
......@@ -37,6 +37,8 @@
#include <glib-object.h>
#include <gtk/gtk.h>
/* This should be removed at some point. */
#include "nautilus-extension-types.h"
G_BEGIN_DECLS
......
......@@ -36,6 +36,9 @@
#include <glib-object.h>
#include <gtk/gtk.h>
#include "nautilus-file-info.h"
/* These should be removed at some point. */
#include "nautilus-extension-types.h"
#include "nautilus-menu.h"
G_BEGIN_DECLS
......
......@@ -26,6 +26,8 @@
#define NAUTILUS_MENU_H
#include <glib-object.h>
/* This should be removed at some point. */
#include "nautilus-extension-types.h"
#if !defined (NAUTILUS_EXTENSION_H) && !defined (NAUTILUS_COMPILATION)
#warning "Only <nautilus-extension.h> should be included directly."
......
......@@ -35,6 +35,11 @@
#endif
#include <glib-object.h>
/* These should be removed at some point. */
#include "nautilus-extension-types.h"
#include "nautilus-file-info.h"
#include "nautilus-property-page.h"
G_BEGIN_DECLS
......
......@@ -30,6 +30,8 @@
#include <glib-object.h>
#include <gtk/gtk.h>
/* This should be removed at some point. */
#include "nautilus-extension-types.h"
G_BEGIN_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment