From 4d2f11c7f90b4b4dd9fac226824fe7eea96e3e0b Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Thu, 13 Apr 2006 05:06:48 -0500 Subject: [PATCH] Removed mooapp/mooapp-private.h --- moo/mooapp/Makefile.incl | 1 - moo/mooapp/mooapp-private.h | 28 ---------------------------- moo/mooapp/mooapp.c | 3 ++- moo/mooapp/mooapp.h | 1 + moo/mooapp/mooappabout.c | 2 +- 5 files changed, 4 insertions(+), 31 deletions(-) delete mode 100644 moo/mooapp/mooapp-private.h diff --git a/moo/mooapp/Makefile.incl b/moo/mooapp/Makefile.incl index d2130ca4..1cbb9a69 100644 --- a/moo/mooapp/Makefile.incl +++ b/moo/mooapp/Makefile.incl @@ -15,7 +15,6 @@ mooapp_sources = \ $(mooapp_include_headers) \ $(mooapp)/mooappabout.c \ $(mooapp)/mooappabout.h \ - $(mooapp)/mooapp-private.h \ $(mooapp)/mooapp.c \ $(mooapp)/mooapp.h \ $(mooapp)/mooappinput.c \ diff --git a/moo/mooapp/mooapp-private.h b/moo/mooapp/mooapp-private.h deleted file mode 100644 index e347b33d..00000000 --- a/moo/mooapp/mooapp-private.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * mooapp/mooapp-private.h - * - * Copyright (C) 2004-2006 by Yevgen Muntyan - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * See COPYING file that comes with this distribution. - */ - -#ifndef MOOAPP_MOOAPP_PRIVATE_H -#define MOOAPP_MOOAPP_PRIVATE_H - -#include "mooapp/mooapp.h" -#include "mooutils/mooprefsdialog.h" - -G_BEGIN_DECLS - - -GtkWidget *_moo_app_create_prefs_dialog (MooApp *app); - - -G_END_DECLS - -#endif /* MOOAPP_MOOAPP_PRIVATE_H */ diff --git a/moo/mooapp/mooapp.c b/moo/mooapp/mooapp.c index a0bab235..760555c9 100644 --- a/moo/mooapp/mooapp.c +++ b/moo/mooapp/mooapp.c @@ -16,15 +16,16 @@ #endif #define WANT_MOO_APP_CMD_CHARS -#include "mooapp/mooapp-private.h" #include "mooapp/mooappinput.h" #include "mooapp/mooappoutput.h" +#include "mooapp/mooapp.h" #include "mooterm/mootermwindow.h" #include "mooedit/mooeditprefs.h" #include "mooedit/mooeditor.h" #include "mooedit/mooplugin.h" #include "mooedit/mooedit-script.h" #include "mooedit/plugins/mooeditplugins.h" +#include "mooutils/mooprefsdialog.h" #include "mooutils/moopython.h" #include "mooutils/moomarshals.h" #include "mooutils/moocompat.h" diff --git a/moo/mooapp/mooapp.h b/moo/mooapp/mooapp.h index 24e34862..b50ac836 100644 --- a/moo/mooapp/mooapp.h +++ b/moo/mooapp/mooapp.h @@ -111,6 +111,7 @@ void _moo_app_exec_cmd (MooApp *app, char cmd, const char *data, guint len); +GtkWidget *_moo_app_create_prefs_dialog (MooApp *app); G_END_DECLS diff --git a/moo/mooapp/mooappabout.c b/moo/mooapp/mooappabout.c index c5810db2..358e5254 100644 --- a/moo/mooapp/mooappabout.c +++ b/moo/mooapp/mooappabout.c @@ -11,9 +11,9 @@ * See COPYING file that comes with this distribution. */ -#include "mooapp/mooapp-private.h" #include "mooapp/mooappabout-glade.h" #include "mooapp/mooappabout.h" +#include "mooapp/mooapp.h" #include "mooapp/moohtml.h" #include "mooutils/moostock.h" #include "mooutils/mooutils-misc.h"