[gedit/wip/reusable-code] Prepare gedit-utils for the libgedit
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/reusable-code] Prepare gedit-utils for the libgedit
- Date: Thu, 12 Sep 2013 21:58:17 +0000 (UTC)
commit c825afb274b9e6c79d8a29937d7c0a35352936a3
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Sep 12 23:57:05 2013 +0200
Prepare gedit-utils for the libgedit
But gedit-utils still depends on GeditDocument.
gedit/gedit-debug.c | 2 --
gedit/gedit-debug.h | 8 +++-----
gedit/gedit-utils.c | 15 ---------------
gedit/gedit-utils.h | 8 --------
4 files changed, 3 insertions(+), 30 deletions(-)
---
diff --git a/gedit/gedit-debug.c b/gedit/gedit-debug.c
index 29d5b59..c85b1ba 100644
--- a/gedit/gedit-debug.c
+++ b/gedit/gedit-debug.c
@@ -94,8 +94,6 @@ gedit_debug_init (void)
debug = debug | GEDIT_DEBUG_APP;
if (g_getenv ("GEDIT_DEBUG_SESSION") != NULL)
debug = debug | GEDIT_DEBUG_SESSION;
- if (g_getenv ("GEDIT_DEBUG_UTILS") != NULL)
- debug = debug | GEDIT_DEBUG_UTILS;
if (g_getenv ("GEDIT_DEBUG_WINDOW") != NULL)
debug = debug | GEDIT_DEBUG_WINDOW;
if (g_getenv ("GEDIT_DEBUG_PANEL") != NULL)
diff --git a/gedit/gedit-debug.h b/gedit/gedit-debug.h
index e089130..7d9770b 100644
--- a/gedit/gedit-debug.h
+++ b/gedit/gedit-debug.h
@@ -58,10 +58,9 @@ typedef enum {
GEDIT_DEBUG_COMMANDS = 1 << 7,
GEDIT_DEBUG_APP = 1 << 8,
GEDIT_DEBUG_SESSION = 1 << 9,
- GEDIT_DEBUG_UTILS = 1 << 10,
- GEDIT_DEBUG_WINDOW = 1 << 11,
- GEDIT_DEBUG_PANEL = 1 << 12,
- GEDIT_DEBUG_DBUS = 1 << 13
+ GEDIT_DEBUG_WINDOW = 1 << 10,
+ GEDIT_DEBUG_PANEL = 1 << 11,
+ GEDIT_DEBUG_DBUS = 1 << 12
} GeditDebugSection;
#define DEBUG_VIEW GEDIT_DEBUG_VIEW, __FILE__, __LINE__, G_STRFUNC
@@ -74,7 +73,6 @@ typedef enum {
#define DEBUG_COMMANDS GEDIT_DEBUG_COMMANDS,__FILE__, __LINE__, G_STRFUNC
#define DEBUG_APP GEDIT_DEBUG_APP, __FILE__, __LINE__, G_STRFUNC
#define DEBUG_SESSION GEDIT_DEBUG_SESSION, __FILE__, __LINE__, G_STRFUNC
-#define DEBUG_UTILS GEDIT_DEBUG_UTILS, __FILE__, __LINE__, G_STRFUNC
#define DEBUG_WINDOW GEDIT_DEBUG_WINDOW, __FILE__, __LINE__, G_STRFUNC
#define DEBUG_PANEL GEDIT_DEBUG_PANEL, __FILE__, __LINE__, G_STRFUNC
#define DEBUG_DBUS GEDIT_DEBUG_DBUS, __FILE__, __LINE__, G_STRFUNC
diff --git a/gedit/gedit-utils.c b/gedit/gedit-utils.c
index 0a587ac..d73f85f 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -22,18 +22,6 @@
* Boston, MA 02111-1307, USA.
*/
-/*
- * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
- * list of people on the gedit Team.
- * See the ChangeLog files for a list of changes.
- *
- * $Id$
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -47,9 +35,6 @@
#include "gedit-utils.h"
-#include "gedit-document.h"
-#include "gedit-debug.h"
-
/* For the workspace/viewport stuff */
#ifdef GDK_WINDOWING_X11
#include <gdk/gdkx.h>
diff --git a/gedit/gedit-utils.h b/gedit/gedit-utils.h
index f568be6..0b4b090 100644
--- a/gedit/gedit-utils.h
+++ b/gedit/gedit-utils.h
@@ -22,14 +22,6 @@
* Boston, MA 02111-1307, USA.
*/
-/*
- * Modified by the gedit Team, 1998-2005. See the AUTHORS file for a
- * list of people on the gedit Team.
- * See the ChangeLog files for a list of changes.
- *
- * $Id$
- */
-
#ifndef __GEDIT_UTILS_H__
#define __GEDIT_UTILS_H__
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]