[gimp] app: remove includes in gimpsessioninfo-dock.c and -book.c
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: remove includes in gimpsessioninfo-dock.c and -book.c
- Date: Sat, 3 May 2014 15:21:18 +0000 (UTC)
commit b14d386e0c3b328ce2d1ffba0fe3ca87ec14e277
Author: Michael Natterer <mitch gimp org>
Date: Sat May 3 17:18:33 2014 +0200
app: remove includes in gimpsessioninfo-dock.c and -book.c
app/widgets/gimpsessioninfo-book.c | 1 -
app/widgets/gimpsessioninfo-dock.c | 3 +--
2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/app/widgets/gimpsessioninfo-book.c b/app/widgets/gimpsessioninfo-book.c
index b150aab..f46de22 100644
--- a/app/widgets/gimpsessioninfo-book.c
+++ b/app/widgets/gimpsessioninfo-book.c
@@ -31,7 +31,6 @@
#include "gimpdialogfactory.h"
#include "gimpdock.h"
#include "gimpdockbook.h"
-#include "gimpsessioninfo.h" /* for gimp_session_info_class_apply_position_accuracy() */
#include "gimpsessioninfo-book.h"
#include "gimpsessioninfo-dockable.h"
#include "gimpwidgets-utils.h"
diff --git a/app/widgets/gimpsessioninfo-dock.c b/app/widgets/gimpsessioninfo-dock.c
index 05713ec..9d2f2db 100644
--- a/app/widgets/gimpsessioninfo-dock.c
+++ b/app/widgets/gimpsessioninfo-dock.c
@@ -33,7 +33,6 @@
#include "gimpdockbook.h"
#include "gimpdockcontainer.h"
#include "gimpdockwindow.h"
-#include "gimpsessioninfo.h"
#include "gimpsessioninfo-aux.h"
#include "gimpsessioninfo-book.h"
#include "gimpsessioninfo-dock.h"
@@ -120,7 +119,7 @@ gimp_session_info_dock_serialize (GimpConfigWriter *writer,
{
const char *side_text =
dock_info->side == GIMP_ALIGN_LEFT ? "left" : "right";
-
+
gimp_config_writer_open (writer, "side");
gimp_config_writer_print (writer, side_text, strlen (side_text));
gimp_config_writer_close (writer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]