mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Cleanup usage of the PLUGIN_PAGE_LABEL define.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11849 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
2005-11-05 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/gnome-utils/gnc-embedded-window.c:
|
||||
* src/gnome-utils/gnc-embedded-window.h:
|
||||
* src/gnome-utils/gnc-main-window.c:
|
||||
* src/gnome-utils/gnc-main-window.h:
|
||||
* src/gnome-utils/gnc-window.h: Cleanup usage of the
|
||||
PLUGIN_PAGE_LABEL define.
|
||||
|
||||
* Various: Convert to newer method of allocating private data
|
||||
structures for objects. This allows glib to consolidate the space
|
||||
for all of the various public and private data structures on an
|
||||
|
||||
@@ -121,7 +121,6 @@ gnc_embedded_window_open_page (GncEmbeddedWindow *window,
|
||||
priv->page = page;
|
||||
page->window = GTK_WIDGET(window);
|
||||
page->notebook_page = gnc_plugin_page_create_widget (page);
|
||||
g_object_set_data (G_OBJECT (page->notebook_page), PLUGIN_PAGE_LABEL, page);
|
||||
|
||||
gtk_box_pack_end(GTK_BOX(window), page->notebook_page, TRUE, TRUE, 2);
|
||||
gnc_plugin_page_inserted (page);
|
||||
|
||||
@@ -42,8 +42,6 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define PLUGIN_PAGE_LABEL "plugin-page"
|
||||
|
||||
/* type macros */
|
||||
#define GNC_TYPE_EMBEDDED_WINDOW (gnc_embedded_window_get_type ())
|
||||
#define GNC_EMBEDDED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_EMBEDDED_WINDOW, GncEmbeddedWindow))
|
||||
|
||||
@@ -67,6 +67,9 @@ enum {
|
||||
LAST_SIGNAL
|
||||
};
|
||||
|
||||
/** This label is used to provide a mapping from a visible page widget
|
||||
* back to the corresponding GncPluginPage object. */
|
||||
#define PLUGIN_PAGE_LABEL "plugin-page"
|
||||
|
||||
#define PLUGIN_PAGE_IMMUTABLE "page-immutable"
|
||||
#define PLUGIN_PAGE_CLOSE_BUTTON "close-button"
|
||||
|
||||
@@ -42,8 +42,6 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define PLUGIN_PAGE_LABEL "plugin-page"
|
||||
|
||||
/* type macros */
|
||||
#define GNC_TYPE_MAIN_WINDOW (gnc_main_window_get_type ())
|
||||
#define GNC_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNC_TYPE_MAIN_WINDOW, GncMainWindow))
|
||||
|
||||
@@ -46,8 +46,6 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define PLUGIN_PAGE_LABEL "plugin-page"
|
||||
|
||||
/* type macros */
|
||||
#define GNC_TYPE_WINDOW (gnc_window_get_type ())
|
||||
#define GNC_WINDOW(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNC_TYPE_WINDOW, GncWindow))
|
||||
|
||||
Reference in New Issue
Block a user