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:
David Hampton
2005-11-06 03:07:21 +00:00
parent 087de2b80a
commit 575f35df7a
6 changed files with 10 additions and 7 deletions
+7
View File
@@ -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
-1
View File
@@ -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);
-2
View File
@@ -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))
+3
View File
@@ -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"
-2
View File
@@ -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))
-2
View File
@@ -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))