summaryrefslogtreecommitdiff
path: root/gladeui
diff options
context:
space:
mode:
authorVincent Geddes <vgeddes@src.gnome.org>2007-06-21 11:10:31 +0000
committerVincent Geddes <vgeddes@src.gnome.org>2007-06-21 11:10:31 +0000
commita89d528d42f2596cd0302310000705f5d015d290 (patch)
treeec1c44a586d49cd24c551c26fa2737b267fb3af0 /gladeui
parent508dbe3d3615b011060333730c876ec875c2b455 (diff)
downloadglade-a89d528d42f2596cd0302310000705f5d015d290.tar.gz
Misc cleanups.
* gladeui/glade-app.[ch], gladeui/glade-widget-adaptor.c: Misc cleanups. svn path=/trunk/; revision=1381
Diffstat (limited to 'gladeui')
-rw-r--r--gladeui/glade-app.c6
-rw-r--r--gladeui/glade-app.h1
-rw-r--r--gladeui/glade-widget-adaptor.h22
3 files changed, 10 insertions, 19 deletions
diff --git a/gladeui/glade-app.c b/gladeui/glade-app.c
index bbe50f6e..1020cffb 100644
--- a/gladeui/glade-app.c
+++ b/gladeui/glade-app.c
@@ -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
diff --git a/gladeui/glade-app.h b/gladeui/glade-app.h
index 15afd987..9fc62bac 100644
--- a/gladeui/glade-app.h
+++ b/gladeui/glade-app.h
@@ -62,7 +62,6 @@ enum _GladePointerMode
struct _GladeApp
{
- /*< private >*/
GObject parent_instance;
GladeAppPrivate *priv;
diff --git a/gladeui/glade-widget-adaptor.h b/gladeui/glade-widget-adaptor.h
index 1194e05d..e063f859 100644
--- a/gladeui/glade-widget-adaptor.h
+++ b/gladeui/glade-widget-adaptor.h
@@ -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;