Commit a89d528d authored by Vincent Geddes's avatar Vincent Geddes

Misc cleanups.

	* gladeui/glade-app.[ch], gladeui/glade-widget-adaptor.c: Misc cleanups.

svn path=/trunk/; revision=1381
parent 508dbe3d
2006-06-21 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/glade-app.[ch], gladeui/glade-widget-adaptor.c: Misc cleanups.
2006-06-20 Tristan Van Berkom <tvb@gnome.org>
* plugins/gtk+/glade-gtk.c: Remember notebook page when
......
......@@ -1231,7 +1231,7 @@ glade_app_command_cut (void)
/**
* glade_app_command_paste:
* @app: A #GladeApp
* @placeholder: A #GladePlaceholder
*
* Paste the clipboard selection to the active project's
* selection (the project must have only one object selected).
......@@ -1355,7 +1355,6 @@ glade_app_command_paste (GladePlaceholder *placeholder)
/**
* glade_app_command_delete:
* @app: A #GladeApp
*
* Delete the active project's selection.
*/
......@@ -1405,7 +1404,6 @@ glade_app_command_delete (void)
/**
* glade_app_command_delete_clipboard:
* @app: A #GladeApp
*
* Delete the clipboard's selection.
*/
......@@ -1470,7 +1468,7 @@ glade_app_command_redo (void)
/*
* glade_app_set_accel_group:
*
* Sets @accel_group to @app.
* Sets @accel_group to app.
* The acceleration group will be attached to every toplevel widget in this application.
*/
void
......
......@@ -62,7 +62,6 @@ enum _GladePointerMode
struct _GladeApp
{
/*< private >*/
GObject parent_instance;
GladeAppPrivate *priv;
......
......@@ -11,22 +11,15 @@
G_BEGIN_DECLS
#define GLADE_TYPE_WIDGET_ADAPTOR (glade_widget_adaptor_get_type())
#define GLADE_WIDGET_ADAPTOR(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_WIDGET_ADAPTOR, GladeWidgetAdaptor))
#define GLADE_WIDGET_ADAPTOR_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), GLADE_TYPE_WIDGET_ADAPTOR, GladeWidgetAdaptorClass))
#define GLADE_IS_WIDGET_ADAPTOR(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_WIDGET_ADAPTOR))
#define GLADE_IS_WIDGET_ADAPTOR_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_WIDGET_ADAPTOR))
#define GLADE_WIDGET_ADAPTOR_GET_CLASS(o) \
(G_TYPE_INSTANCE_GET_CLASS ((o), GLADE_WIDGET_ADAPTOR, GladeWidgetAdaptorClass))
#define GLADE_WIDGET_ADAPTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GLADE_TYPE_WIDGET_ADAPTOR, GladeWidgetAdaptor))
#define GLADE_WIDGET_ADAPTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GLADE_TYPE_WIDGET_ADAPTOR, GladeWidgetAdaptorClass))
#define GLADE_IS_WIDGET_ADAPTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GLADE_TYPE_WIDGET_ADAPTOR))
#define GLADE_IS_WIDGET_ADAPTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_WIDGET_ADAPTOR))
#define GLADE_WIDGET_ADAPTOR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GLADE_WIDGET_ADAPTOR, GladeWidgetAdaptorClass))
typedef struct _GladeWidgetAdaptor GladeWidgetAdaptor;
typedef struct _GladeWidgetAdaptorPrivate GladeWidgetAdaptorPrivate;
typedef struct _GladeWidgetAdaptorClass GladeWidgetAdaptorClass;
typedef struct _GladeSignalClass GladeSignalClass;
typedef enum _GladeCreateReason GladeCreateReason;
/**
* GWA_IS_FIXED:
......@@ -122,14 +115,14 @@ typedef enum _GladeCreateReason GladeCreateReason;
*
* These are the reasons your #GladePostCreateFunc can be called.
*/
enum _GladeCreateReason
typedef enum
{
GLADE_CREATE_USER = 0,
GLADE_CREATE_COPY,
GLADE_CREATE_LOAD,
GLADE_CREATE_REBUILD,
GLADE_CREATE_REASONS
};
} GladeCreateReason;
#define GLADE_CREATE_REASON (glade_create_reason_get_type())
......@@ -341,6 +334,7 @@ typedef void (* GladeChildActionActivateFunc) (GladeWidgetAdaptor *adaptor,
/* GladeSignalClass contains all the info we need for a given signal, such as
* the signal name, and maybe more in the future
*/
typedef struct _GladeSignalClass GladeSignalClass;
struct _GladeSignalClass
{
GSignalQuery query;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment