[nautilus] slot: don't include gi18n.h in the header
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] slot: don't include gi18n.h in the header
- Date: Mon, 9 Jan 2012 22:24:53 +0000 (UTC)
commit 0d83fdffed7b3c8987e19f6e5ef6f304f5efdb9d
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Jan 6 02:55:38 2012 +0100
slot: don't include gi18n.h in the header
src/nautilus-bookmarks-window.c | 1 +
src/nautilus-progress-ui-handler.c | 2 ++
src/nautilus-view-dnd.c | 2 ++
src/nautilus-window-pane.c | 2 ++
src/nautilus-window-slot.c | 2 ++
src/nautilus-window-slot.h | 1 -
6 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-bookmarks-window.c b/src/nautilus-bookmarks-window.c
index 5b68b01..351ed99 100644
--- a/src/nautilus-bookmarks-window.c
+++ b/src/nautilus-bookmarks-window.c
@@ -38,6 +38,7 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
+#include <glib/gi18n.h>
/* Static variables to keep track of window state. If there were
* more than one bookmark-editing window, these would be struct or
diff --git a/src/nautilus-progress-ui-handler.c b/src/nautilus-progress-ui-handler.c
index b938f0e..060a3c0 100644
--- a/src/nautilus-progress-ui-handler.c
+++ b/src/nautilus-progress-ui-handler.c
@@ -31,6 +31,8 @@
#include "nautilus-application.h"
#include "nautilus-progress-info-widget.h"
+#include <glib/gi18n.h>
+
#include <libnautilus-private/nautilus-progress-info.h>
#include <libnautilus-private/nautilus-progress-info-manager.h>
diff --git a/src/nautilus-view-dnd.c b/src/nautilus-view-dnd.c
index ad99189..83b3176 100644
--- a/src/nautilus-view-dnd.c
+++ b/src/nautilus-view-dnd.c
@@ -37,6 +37,8 @@
#include <eel/eel-stock-dialogs.h>
#include <eel/eel-string.h>
+#include <glib/gi18n.h>
+
#include <libnautilus-private/nautilus-clipboard.h>
#include <libnautilus-private/nautilus-dnd.h>
diff --git a/src/nautilus-window-pane.c b/src/nautilus-window-pane.c
index e4cdcad..530367d 100644
--- a/src/nautilus-window-pane.c
+++ b/src/nautilus-window-pane.c
@@ -36,6 +36,8 @@
#include "nautilus-window-manage-views.h"
#include "nautilus-window-private.h"
+#include <glib/gi18n.h>
+
#include <libnautilus-private/nautilus-clipboard.h>
#include <libnautilus-private/nautilus-global-preferences.h>
#include <libnautilus-private/nautilus-entry.h>
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index b9c6b7f..2c3b124 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -28,6 +28,8 @@
#include "nautilus-window-private.h"
#include "nautilus-window-manage-views.h"
+#include <glib/gi18n.h>
+
#include <libnautilus-private/nautilus-file.h>
#include <libnautilus-private/nautilus-file-utilities.h>
#include <libnautilus-private/nautilus-global-preferences.h>
diff --git a/src/nautilus-window-slot.h b/src/nautilus-window-slot.h
index 0a2b922..9831584 100644
--- a/src/nautilus-window-slot.h
+++ b/src/nautilus-window-slot.h
@@ -28,7 +28,6 @@
#include "nautilus-view.h"
#include "nautilus-window-types.h"
#include "nautilus-query-editor.h"
-#include <glib/gi18n.h>
#define NAUTILUS_TYPE_WINDOW_SLOT (nautilus_window_slot_get_type())
#define NAUTILUS_WINDOW_SLOT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), NAUTILUS_TYPE_WINDOW_SLOT, NautilusWindowSlotClass))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]