mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 01:16:43 -06:00
Reverting screwups r20683, 20684, and 20685
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20686 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
07eea7f6ec
commit
28b598fc4f
File diff suppressed because it is too large
Load Diff
@ -46,7 +46,6 @@ EXTRA_DIST = \
|
||||
macros/compiler-flags.m4 \
|
||||
macros/ac_pkg_swig.m4 \
|
||||
macros/legacy_macros.m4 \
|
||||
macros/introspection.m4 \
|
||||
po/gnucash.pot \
|
||||
po/POTFILES.in \
|
||||
po/POTFILES.skip \
|
||||
|
@ -23,7 +23,6 @@ AC_PREREQ(2.59)
|
||||
AC_INIT([GnuCash], [2.4.99], [gnucash-devel@gnucash.org])
|
||||
AC_CONFIG_HEADERS(config.h)
|
||||
AC_CONFIG_SRCDIR(src/engine/Transaction.h)
|
||||
AC_CONFIG_MACRO_DIR(macros)
|
||||
|
||||
#Change this in development versions when changing anything that
|
||||
#affects stored data structures. Reset to zero when bumping version.
|
||||
@ -102,6 +101,12 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
|
||||
|
||||
AM_GLIB_GNU_GETTEXT
|
||||
|
||||
|
||||
# Enable only when we have autoconf --version >= 2.59
|
||||
# on all platforms. Note that AC_PREREQ(2.59) may be
|
||||
# insufficient to actually use v2.59 on OSX
|
||||
#AC_CONFIG_MACRO_DIR(macros)
|
||||
|
||||
AC_PROG_INSTALL
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
@ -227,8 +232,6 @@ fi
|
||||
# We require glib >= 2.20, released together with gtk-2.16
|
||||
PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.20 gthread-2.0 gobject-2.0 gmodule-2.0)
|
||||
|
||||
GOBJECT_INTROSPECTION_CHECK([0.6.7])
|
||||
|
||||
AC_CHECK_HEADERS(dirent.h dlfcn.h dl.h utmp.h locale.h mcheck.h unistd.h wctype.h)
|
||||
|
||||
# Gnucash replaced dlopen/dlsym by the g_module functions; dlsym
|
||||
|
@ -288,7 +288,7 @@ mark_account (Account *acc)
|
||||
\********************************************************************/
|
||||
|
||||
/* GObject Initialization */
|
||||
G_DEFINE_TYPE(GncAccount, gnc_account, QOF_TYPE_INSTANCE)
|
||||
G_DEFINE_TYPE(Account, gnc_account, QOF_TYPE_INSTANCE)
|
||||
|
||||
static void
|
||||
gnc_account_init(Account* acc)
|
||||
@ -534,7 +534,7 @@ gnc_account_set_property (GObject *object,
|
||||
}
|
||||
|
||||
static void
|
||||
gnc_account_class_init (GncAccountClass *klass)
|
||||
gnc_account_class_init (AccountClass *klass)
|
||||
{
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,7 @@
|
||||
* No one outside of the engine should ever include this file.
|
||||
*/
|
||||
|
||||
/** \struct GncAccount */
|
||||
/** \struct Account */
|
||||
struct account_s
|
||||
{
|
||||
QofInstance inst;
|
||||
|
@ -1,9 +1,5 @@
|
||||
SUBDIRS = . test-core test
|
||||
|
||||
INTROSPECTION_GIRS =
|
||||
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) --add-include-path=$(top_builddir)/src/libqof/qof
|
||||
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
|
||||
|
||||
pkglib_LTLIBRARIES = libgncmod-engine.la
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
@ -220,24 +216,3 @@ CLEANFILES = $(BUILT_SOURCES) gnucash .scm-links \
|
||||
MAINTAINERCLEANFILES = swig-engine.c swig-business-core.c
|
||||
|
||||
INCLUDES = -DG_LOG_DOMAIN=\"gnc.engine\"
|
||||
if HAVE_INTROSPECTION
|
||||
include ${INTROSPECTION_MAKEFILE}
|
||||
introspection_sources = $(gncinclude_HEADERS)
|
||||
|
||||
INTROSPECTION_GIRS += Gncengine.gir
|
||||
Gncengine_gir_INCLUDES = GObject-2.0 GLib-2.0 Qof-1
|
||||
Gncengine_gir_NAMESPACE = Gnc
|
||||
Gncengine_gir_CFLAGS = ${AM_CPPFLAGS} -I$(top_builddir)
|
||||
Gncengine_gir_LIBS = libgncmod-engine.la
|
||||
Gncengine_gir_FILES = $(introspection_sources)
|
||||
|
||||
|
||||
girdir = $(datadir)/gir-1.0
|
||||
gir_DATA = $(INTROSPECTION_GIRS)
|
||||
|
||||
typelibdir = $(libdir)/girepository-1.0
|
||||
typelib_DATA = GncEngine.typelib
|
||||
|
||||
CLEANFILES += $(gir_DATA) $(typelib_DATA)
|
||||
endif
|
||||
|
||||
|
@ -38,8 +38,8 @@ typedef struct _SplitClass SplitClass;
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "gnc-engine.h"
|
||||
#include "gnc-commodity.h"
|
||||
#include "gnc-engine.h"
|
||||
|
||||
/* --- type macros --- */
|
||||
#define GNC_TYPE_SPLIT (gnc_split_get_type ())
|
||||
|
@ -2308,9 +2308,8 @@ gnc_main_window_destroy (GtkObject *object)
|
||||
gnc_window_set_progressbar_window(NULL);
|
||||
|
||||
/* Update the "Windows" menu in all other windows */
|
||||
#ifndef MAC_INTEGRATION
|
||||
gnc_main_window_update_all_menu_items();
|
||||
#endif
|
||||
|
||||
gnc_gconf_remove_notification(G_OBJECT(window), DESKTOP_GNOME_INTERFACE,
|
||||
GNC_MAIN_WINDOW_NAME);
|
||||
gnc_gconf_remove_notification(G_OBJECT(window), GCONF_GENERAL,
|
||||
@ -2357,9 +2356,8 @@ gnc_main_window_new (void)
|
||||
}
|
||||
active_windows = g_list_append (active_windows, window);
|
||||
gnc_main_window_update_title(window);
|
||||
#ifndef MAC_INTEGRATION
|
||||
gnc_main_window_update_allmenu_items();
|
||||
#endif
|
||||
gnc_main_window_update_all_menu_items();
|
||||
|
||||
gnc_engine_add_commit_error_callback( gnc_main_window_engine_commit_error_callback, window );
|
||||
|
||||
return window;
|
||||
@ -3563,9 +3561,8 @@ gnc_main_window_switch_page (GtkNotebook *notebook,
|
||||
g_list_length(priv->installed_pages) > 1);
|
||||
|
||||
gnc_main_window_update_title(window);
|
||||
#ifndef MAC_INTEGRATION
|
||||
gnc_main_window_update_menu_item(window);
|
||||
#endif
|
||||
|
||||
g_signal_emit (window, main_window_signals[PAGE_CHANGED], 0, page);
|
||||
LEAVE(" ");
|
||||
}
|
||||
@ -3926,9 +3923,7 @@ gnc_main_window_cmd_window_raise (GtkAction *action,
|
||||
|
||||
/* revert the change in the radio group
|
||||
* impossible while handling "changed" (G_SIGNAL_NO_RECURSE) */
|
||||
#ifndef MAC_INTEGRATION
|
||||
g_idle_add((GSourceFunc)gnc_main_window_update_radio_button, old_window);
|
||||
#endif
|
||||
LEAVE(" ");
|
||||
}
|
||||
|
||||
|
@ -1,10 +1,5 @@
|
||||
SUBDIRS = . test
|
||||
|
||||
INTROSPECTION_GIRS =
|
||||
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
|
||||
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
|
||||
|
||||
|
||||
lib_LTLIBRARIES = libgnc-qof.la
|
||||
|
||||
libgnc_qof_la_LDFLAGS= -version-info $(LIBQOF_LIBRARY_VERSION)
|
||||
@ -85,28 +80,6 @@ noinst_HEADERS = \
|
||||
EXTRA_DIST = \
|
||||
qofmath128.c
|
||||
|
||||
if HAVE_INTROSPECTION
|
||||
include ${INTROSPECTION_MAKEFILE}
|
||||
introspection_sources = $(qofinclude_HEADERS)
|
||||
|
||||
INTROSPECTION_GIRS += Qof-1.gir
|
||||
Qof_1_gir_INCLUDES = GObject-2.0 GLib-2.0
|
||||
Qof_1_gir_NAMESPACE = Qof
|
||||
Qof_1_gir_VERSION = 1
|
||||
Qof_1_gir_CFLAGS = ${AM_CPPFLAGS} -I$(top_builddir)
|
||||
Qof_1_gir_LIBS = libgnc-qof.la
|
||||
Qof_1_gir_FILES = $(introspection_sources)
|
||||
|
||||
|
||||
girdir = $(datadir)/gir-1.0
|
||||
gir_DATA = $(INTROSPECTION_GIRS)
|
||||
|
||||
typelibdir = $(libdir)/girepository-1.0
|
||||
typelib_DATA = Qof-1.typelib
|
||||
|
||||
CLEANFILES = $(gir_DATA) $(typelib_DATA)
|
||||
endif
|
||||
|
||||
if OS_WIN32
|
||||
libgnc_qof_la_SOURCES += qof-win32.c
|
||||
else
|
||||
|
@ -32,7 +32,6 @@
|
||||
#ifndef QOF_UTIL_H
|
||||
#define QOF_UTIL_H
|
||||
|
||||
#include <config.h>
|
||||
#include <stddef.h>
|
||||
#include "qof.h"
|
||||
#include "qoflog.h"
|
||||
|
Loading…
Reference in New Issue
Block a user