Commit 48cacc47 authored by Vincent Geddes's avatar Vincent Geddes

Auto-generate `gladeui.def' for DLL symbol exports. Remove

	* gladeui/Makefile.am: Auto-generate `gladeui.def' for DLL symbol
	  exports. Remove -DINSIDE_LIBGLADEUI from libgladeui_1_la_CPPFLAGS.

	* gladeui/glade-accumulators.h, gladeui/glade-app.h,
	  gladeui/glade-base-editor.h, gladeui/glade-binding.h,
	  gladeui/glade-builtins.h, gladeui/glade-catalog.h,
	  gladeui/glade-clipboard-view.h, gladeui/glade-clipboard.h,
	  gladeui/glade-command.h, gladeui/glade-custom.h,
	  gladeui/glade-debug.h, gladeui/glade-design-view.h,
	  gladeui/glade-editor-property.h, gladeui/glade-editor.h,
	  gladeui/glade-fixed.h, gladeui/glade-palette.h,
	  gladeui/glade-parameter.h, gladeui/glade-placeholder.h,
	  gladeui/glade-project-view.h, gladeui/glade-project.h,
	  gladeui/glade-property-class.h, gladeui/glade-property.h,
	  gladeui/glade-signal-editor.h, gladeui/glade-utils.h,
	  gladeui/glade-widget-adaptor.h, gladeui/glade-widget.h,
	  gladeui/glade.h:
	  Remove LIBGLADEUI_API function attributes.

	* plugins/gnome/glade-gnome.c, plugins/gtk+/glade-gtk.c,
	  plugins/gtk+/glade-gtk.h:
	  Remove GLADEGTK_API and GLADEGNOME_API function attributes.

svn path=/trunk/; revision=1248
parent c2730cb3
2007-04-12 Vincent Geddes <vincent.geddes@gmail.com>
* gladeui/Makefile.am: Auto-generate `gladeui.def' for DLL symbol
exports. Remove -DINSIDE_LIBGLADEUI from libgladeui_1_la_CPPFLAGS.
* gladeui/glade-accumulators.h, gladeui/glade-app.h,
gladeui/glade-base-editor.h, gladeui/glade-binding.h,
gladeui/glade-builtins.h, gladeui/glade-catalog.h,
gladeui/glade-clipboard-view.h, gladeui/glade-clipboard.h,
gladeui/glade-command.h, gladeui/glade-custom.h,
gladeui/glade-debug.h, gladeui/glade-design-view.h,
gladeui/glade-editor-property.h, gladeui/glade-editor.h,
gladeui/glade-fixed.h, gladeui/glade-palette.h,
gladeui/glade-parameter.h, gladeui/glade-placeholder.h,
gladeui/glade-project-view.h, gladeui/glade-project.h,
gladeui/glade-property-class.h, gladeui/glade-property.h,
gladeui/glade-signal-editor.h, gladeui/glade-utils.h,
gladeui/glade-widget-adaptor.h, gladeui/glade-widget.h,
gladeui/glade.h:
Remove LIBGLADEUI_API function attributes.
* plugins/gnome/glade-gnome.c, plugins/gtk+/glade-gtk.c,
plugins/gtk+/glade-gtk.h:
Remove GLADEGTK_API and GLADEGNOME_API function attributes.
2007-04-08 Christian Persch <chpe@gnome.org>
* gladeui/glade-property-class.c:
......
......@@ -14,8 +14,7 @@ lib_LTLIBRARIES = libgladeui-1.la
BUILT_SOURCES = glade-marshallers.c glade-marshallers.h
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = glade-marshallers.list
EXTRA_DIST = atk.xpm glade-marshallers.list
# The glade-3 core library
libgladeui_1_la_SOURCES = \
......@@ -34,11 +33,11 @@ libgladeui_1_la_SOURCES = \
glade-design-layout.c \
glade-design-view.c \
glade-cursor.c \
glade-catalog.c \
glade-property.c \
glade-property-class.c \
glade-popup.c \
glade-widget.c \
glade-catalog.c \
glade-editor-property.c \
glade-editor.c \
glade-utils.c \
......@@ -56,10 +55,22 @@ libgladeui_1_la_SOURCES = \
glade-keysyms.c \
glade-fixed.c \
glade-binding.c \
glade-base-editor.c
glade-base-editor.c \
glade-palette-item.h \
glade-palette-box.h \
glade-palette-expander.h \
glade-popup.h \
glade-catalog.h \
glade-id-allocator.h \
glade-marshallers.h \
glade-accumulators.h \
glade-parser.h \
glade-cursor.h \
glade-signal.h \
glade-xml-utils.h \
atk.xpm
libgladeui_1_la_CPPFLAGS = \
-DINSIDE_LIBGLADEUI \
$(common_defines) \
-I$(top_srcdir) \
-I$(top_builddir) \
......@@ -73,6 +84,7 @@ libgladeui_1_la_CFLAGS = \
libgladeui_1_la_LDFLAGS = -version-info $(GLADE_CURRENT):$(GLADE_REVISION):$(GLADE_AGE) $(AM_LDFLAGS)
libgladeui_1_la_LIBADD = $(GTK_LIBS)
libgladeuiincludedir=$(includedir)/libgladeui-1.0/gladeui
libgladeuiinclude_HEADERS = \
glade.h \
......@@ -86,41 +98,48 @@ libgladeuiinclude_HEADERS = \
glade-editor-property.h \
glade-signal-editor.h \
glade-palette.h \
glade-palette-item.h \
glade-palette-box.h \
glade-palette-expander.h \
glade-design-layout.h \
glade-design-view.h \
glade-cursor.h \
glade-widget.h \
glade-widget-adaptor.h \
glade-property.h \
glade-property-class.h \
glade-popup.h \
glade-catalog.h \
glade-utils.h \
glade-signal.h \
glade-xml-utils.h \
glade-clipboard.h \
glade-clipboard-view.h \
glade-command.h \
glade-id-allocator.h \
glade-marshallers.h \
glade-accumulators.h \
glade-parser.h \
glade-app.h \
glade-builtins.h \
glade-fixed.h \
glade-binding.h \
glade-base-editor.h \
fixed_bg.xpm \
atk.xpm
fixed_bg.xpm
if WITH_WIN32
libgladeui_1_la_LDFLAGS += -no-undefined
libgladeui_1_la_LDFLAGS += -no-undefined -export-symbols gladeui.def
libgladeui_1_la_DEPENDENCIES = gladeui.def
endif
# gladeui.def: auto-generated DEF file for linker input
# The routines below will scan the header files and extracts symbol declarations.
# The symbol 'custom_get_type' is added manually. It's naming deviates from
# the pattern set by all other public symbols in the glade namespace.
#
gladeui.def: $(libgladeuiinclude_HEADERS)
@echo Generating $@
@(echo EXPORTS; \
echo 'custom_get_type'; \
(cd $(srcdir); cat $(libgladeuiinclude_HEADERS) || echo 'glade_ERROR ()' ) | \
grep -v -E '^# *include' | \
grep -v -E '^# *define' | \
grep -E '[^\(]glade_.*[[:space:]]+\(.*' | \
sed -e 's/[ ]*(.*//' | \
sed -e 's/.*glade_/glade_/' | \
sort; \
) >$@
@ ! grep -q glade_ERROR $@ || ($(RM) $@; false)
#
# Marshaller generation
#
......@@ -132,3 +151,6 @@ glade-marshallers.c: glade-marshallers.list $(GLIB_GENMARSHAL)
$(GLIB_GENMARSHAL) --prefix=glade_marshal $(srcdir)/glade-marshallers.list --body > glade-marshallers-c.tmp \
&& mv glade-marshallers-c.tmp glade-marshallers.c \
|| ( rm -f glade-marshallers-c.tmp && exit 1 )
CLEANFILES = $(BUILT_SOURCES) gladeui.def
......@@ -27,4 +27,4 @@ gboolean glade_stop_emission_accumulator (GSignalInvocationHint *ihint,
gpointer dummy);
G_END_DECLS
#endif /* __GLADE_ACCUM_H__ */
#endif /* __GLADE_ACCUMULATORS_H__ */
......@@ -67,124 +67,121 @@ struct _GladeAppClass
void (* update_ui_signal) (GladeApp *app);
};
LIBGLADEUI_API
GType glade_app_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API
GladeApp* glade_app_get (void);
LIBGLADEUI_API
void glade_app_update_ui (void);
LIBGLADEUI_API
gboolean glade_app_widget_event (GladeWidget *widget,
GdkEvent *event);
LIBGLADEUI_API
void glade_app_set_window (GtkWidget *window);
LIBGLADEUI_API
GtkWidget* glade_app_get_window (void);
LIBGLADEUI_API
GladeEditor* glade_app_get_editor (void);
LIBGLADEUI_API
GladePalette* glade_app_get_palette (void);
LIBGLADEUI_API
GladeClipboard* glade_app_get_clipboard (void);
LIBGLADEUI_API
GtkWidget* glade_app_get_clipboard_view (void);
LIBGLADEUI_API
GladeProject* glade_app_get_project (void);
LIBGLADEUI_API
void glade_app_set_project (GladeProject *project);
LIBGLADEUI_API
void glade_app_add_project (GladeProject *project);
LIBGLADEUI_API
void glade_app_remove_project (GladeProject *project);
LIBGLADEUI_API
GList* glade_app_get_projects (void);
LIBGLADEUI_API
GKeyFile* glade_app_get_config (void);
LIBGLADEUI_API
gboolean glade_app_is_project_loaded (const gchar *project_path);
LIBGLADEUI_API
GladeProject* glade_app_get_project_by_path (const gchar *project_path);
LIBGLADEUI_API
void glade_app_show_properties (gboolean raise);
LIBGLADEUI_API
void glade_app_hide_properties (void);
LIBGLADEUI_API
void glade_app_add_project_view (GladeProjectView *view);
LIBGLADEUI_API
void glade_app_command_copy (void);
LIBGLADEUI_API
void glade_app_command_cut (void);
LIBGLADEUI_API
void glade_app_command_paste (GladePlaceholder *placeholder);
LIBGLADEUI_API
void glade_app_command_delete (void);
LIBGLADEUI_API
void glade_app_command_delete_clipboard (void);
LIBGLADEUI_API
void glade_app_command_undo (void);
LIBGLADEUI_API
void glade_app_command_redo (void);
LIBGLADEUI_API
gint glade_app_config_save (void);
LIBGLADEUI_API
void glade_app_set_transient_parent (GtkWindow *parent);
LIBGLADEUI_API
GtkWindow *glade_app_get_transient_parent (void);
LIBGLADEUI_API
void glade_app_set_accel_group (GtkAccelGroup *accel_group);
LIBGLADEUI_API
void glade_app_update_instance_count (GladeProject *project);
LIBGLADEUI_API
GtkWidget *glade_app_undo_button_new (void);
LIBGLADEUI_API
GtkWidget *glade_app_redo_button_new (void);
LIBGLADEUI_API
GList *glade_app_get_selection (void);
/* These handle selection on a global scope and take care
* of multiple project logic.
*/
LIBGLADEUI_API
gboolean glade_app_is_selected (GObject *object);
LIBGLADEUI_API
void glade_app_selection_set (GObject *object,
gboolean emit_signal);
LIBGLADEUI_API
void glade_app_selection_add (GObject *object,
gboolean emit_signal);
LIBGLADEUI_API
void glade_app_selection_remove (GObject *object,
gboolean emit_signal);
LIBGLADEUI_API
void glade_app_selection_clear (gboolean emit_signal);
LIBGLADEUI_API
void glade_app_selection_changed (void);
/* package paths */
LIBGLADEUI_API
const gchar *glade_app_get_scripts_dir (void) G_GNUC_CONST;
LIBGLADEUI_API
const gchar *glade_app_get_catalogs_dir (void) G_GNUC_CONST;
LIBGLADEUI_API
const gchar *glade_app_get_modules_dir (void) G_GNUC_CONST;
LIBGLADEUI_API
const gchar *glade_app_get_plugins_dir (void) G_GNUC_CONST;
LIBGLADEUI_API
const gchar *glade_app_get_pixmaps_dir (void) G_GNUC_CONST;
LIBGLADEUI_API
const gchar *glade_app_get_locale_dir (void) G_GNUC_CONST;
LIBGLADEUI_API
const gchar *glade_app_get_bindings_dir (void) G_GNUC_CONST;
G_END_DECLS
......
......@@ -22,12 +22,9 @@
#ifndef __GLADE_BASE_EDITOR_H__
#define __GLADE_BASE_EDITOR_H__
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <gladeui/glade-widget.h>
#include <gladeui/glade-marshallers.h>
#include <gtk/gtk.h>
G_BEGIN_DECLS
......@@ -62,37 +59,30 @@ struct _GladeBaseEditorClass
gboolean (*move_child) (GladeBaseEditor *, GladeWidget *, GladeWidget *);
};
LIBGLADEUI_API
GType glade_base_editor_get_type (void);
LIBGLADEUI_API
GladeBaseEditor *glade_base_editor_new (GObject *container,
gboolean tree_like,
...);
LIBGLADEUI_API
void glade_base_editor_add_default_properties (GladeBaseEditor *editor,
GladeWidget *gchild);
LIBGLADEUI_API
void glade_base_editor_add_properties (GladeBaseEditor *editor,
GladeWidget *gchild,
...);
LIBGLADEUI_API
void glade_base_editor_add_label (GladeBaseEditor *editor,
gchar *str);
LIBGLADEUI_API
void glade_base_editor_add_popup_items (GladeBaseEditor *editor,
...);
LIBGLADEUI_API
void glade_base_editor_set_show_signal_editor (GladeBaseEditor *editor,
gboolean val);
/* Convenience functions */
LIBGLADEUI_API
GtkWidget *glade_base_editor_pack_new_window (GladeBaseEditor *editor,
gchar *title,
gchar *markup);
......
......@@ -104,30 +104,25 @@ struct _GladeBindingScript {
gchar *name, *path;
};
LIBGLADEUI_API
void glade_binding_load_all (void);
LIBGLADEUI_API
void glade_binding_unload_all (void);
LIBGLADEUI_API
GladeBinding *glade_binding_get (const gchar *name);
LIBGLADEUI_API
const gchar *glade_binding_get_name (GladeBinding *binding);
LIBGLADEUI_API
GList *glade_binding_get_all ();
LIBGLADEUI_API
void glade_binding_library_load (GladeBinding *binding,
const gchar *library);
LIBGLADEUI_API
gint glade_binding_run_script (GladeBinding *script,
const gchar *path,
gchar **argv);
G_END_DECLS
#endif
#endif /* __GLADE_BINDING_H__ */
......@@ -16,7 +16,7 @@ struct _GladeKey {
gchar *name;
};
LIBGLADEUI_API const GladeKey GladeKeys[];
extern const GladeKey GladeKeys[];
#define GLADE_KEYS_LAST_ALPHANUM "9"
#define GLADE_KEYS_LAST_EXTRA "questiondown"
......@@ -51,56 +51,56 @@ LIBGLADEUI_API const GladeKey GladeKeys[];
(G_TYPE_CHECK_INSTANCE_CAST ((pspec), \
GLADE_TYPE_PARAM_ACCEL, GladeParamSpecAccel))
LIBGLADEUI_API GType glade_standard_stock_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API GType glade_standard_stock_image_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API GType glade_glist_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API GType glade_accel_glist_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API GType glade_param_objects_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API GType glade_param_accel_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API GType glade_item_appearance_get_type (void) G_GNUC_CONST;
GType glade_standard_stock_get_type (void) G_GNUC_CONST;
GType glade_standard_stock_image_get_type (void) G_GNUC_CONST;
GType glade_glist_get_type (void) G_GNUC_CONST;
GType glade_accel_glist_get_type (void) G_GNUC_CONST;
GType glade_param_objects_get_type (void) G_GNUC_CONST;
GType glade_param_accel_get_type (void) G_GNUC_CONST;
GType glade_item_appearance_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API guint glade_builtin_key_from_string (const gchar *string);
LIBGLADEUI_API const gchar *glade_builtin_string_from_key (guint key);
guint glade_builtin_key_from_string (const gchar *string);
const gchar *glade_builtin_string_from_key (guint key);
LIBGLADEUI_API GList *glade_accel_list_copy (GList *accels);
LIBGLADEUI_API void glade_accel_list_free (GList *accels);
GList *glade_accel_list_copy (GList *accels);
void glade_accel_list_free (GList *accels);
LIBGLADEUI_API GParamSpec *glade_param_spec_objects (const gchar *name,
const gchar *nick,
const gchar *blurb,
GType accepted_type,
GParamFlags flags);
GParamSpec *glade_param_spec_objects (const gchar *name,
const gchar *nick,
const gchar *blurb,
GType accepted_type,
GParamFlags flags);
LIBGLADEUI_API GParamSpec *glade_param_spec_accel (const gchar *name,
const gchar *nick,
const gchar *blurb,
GType widget_type,
GParamFlags flags);
GParamSpec *glade_param_spec_accel (const gchar *name,
const gchar *nick,
const gchar *blurb,
GType widget_type,
GParamFlags flags);
LIBGLADEUI_API void glade_param_spec_objects_set_type (GladeParamSpecObjects *pspec,
GType type);
LIBGLADEUI_API GType glade_param_spec_objects_get_type (GladeParamSpecObjects *pspec);
void glade_param_spec_objects_set_type (GladeParamSpecObjects *pspec,
GType type);
GType glade_param_spec_objects_get_type (GladeParamSpecObjects *pspec);
LIBGLADEUI_API GParamSpec *glade_standard_pixbuf_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_gdkcolor_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_objects_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_stock_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_stock_image_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_accel_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_int_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_uint_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_string_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_strv_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_float_spec (void);
LIBGLADEUI_API GParamSpec *glade_standard_boolean_spec (void);
GParamSpec *glade_standard_pixbuf_spec (void);
GParamSpec *glade_standard_gdkcolor_spec (void);
GParamSpec *glade_standard_objects_spec (void);
GParamSpec *glade_standard_stock_spec (void);
GParamSpec *glade_standard_stock_image_spec (void);
GParamSpec *glade_standard_accel_spec (void);
GParamSpec *glade_standard_int_spec (void);
GParamSpec *glade_standard_uint_spec (void);
GParamSpec *glade_standard_string_spec (void);
GParamSpec *glade_standard_strv_spec (void);
GParamSpec *glade_standard_float_spec (void);
GParamSpec *glade_standard_boolean_spec (void);
LIBGLADEUI_API void glade_standard_stock_append_prefix (const gchar *prefix);
void glade_standard_stock_append_prefix (const gchar *prefix);
LIBGLADEUI_API gboolean glade_keyval_valid (guint val);
gboolean glade_keyval_valid (guint val);
G_END_DECLS
......
......@@ -32,36 +32,34 @@ typedef struct _GladeCatalog GladeCatalog;
typedef struct _GladeWidgetGroup GladeWidgetGroup;
LIBGLADEUI_API
GList * glade_catalog_load_all (void);
LIBGLADEUI_API
const gchar * glade_catalog_get_name (GladeCatalog *catalog);
LIBGLADEUI_API
GList * glade_catalog_get_widget_groups (GladeCatalog *catalog);
LIBGLADEUI_API
GList * glade_catalog_get_adaptors (GladeCatalog *catalog);
LIBGLADEUI_API
void glade_catalog_free (GladeCatalog *catalog);
LIBGLADEUI_API
const gchar * glade_widget_group_get_name (GladeWidgetGroup *group);
LIBGLADEUI_API
const gchar * glade_widget_group_get_title (GladeWidgetGroup *group);
LIBGLADEUI_API
gboolean glade_widget_group_get_expanded (GladeWidgetGroup *group);
LIBGLADEUI_API
GList * glade_widget_group_get_adaptors (GladeWidgetGroup *group);
LIBGLADEUI_API
void glade_widget_group_free (GladeWidgetGroup *group);
LIBGLADEUI_API
gboolean glade_catalog_is_loaded (const gchar *name);
LIBGLADEUI_API
void glade_catalog_modules_close (void);
G_END_DECLS
......
......@@ -13,11 +13,12 @@ G_BEGIN_DECLS
#define GLADE_IS_CLIPBOARD_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_CLIPBOARD_VIEW))
#define GLADE_CLIPBOARD_VIEW_GET_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), GLADE_TYPE_CLIPBOARD_VIEW, GladeClipboardViewClass))
typedef struct _GladeClipboardView GladeClipboardView;
typedef struct _GladeClipboardView GladeClipboardView;
typedef struct _GladeClipboardViewClass GladeClipboardViewClass;
struct _GladeClipboardView {
GtkWindow __parent__;
struct _GladeClipboardView
{
GtkWindow parent_instance;
GtkWidget *widget; /* The GtkTreeView widget */
GtkListStore *model; /* The GtkListStore model for the View */
......@@ -26,24 +27,25 @@ struct _GladeClipboardView {
* the selecion. */
};
struct _GladeClipboardViewClass {
GtkWindowClass __parent__;
struct _GladeClipboardViewClass
{
GtkWindowClass parent_class;
};
LIBGLADEUI_API
GType glade_clipboard_view_get_type (void) G_GNUC_CONST;
LIBGLADEUI_API
GtkWidget *glade_clipboard_view_new (GladeClipboard *clipboard);
LIBGLADEUI_API
void glade_clipboard_view_add (GladeClipboardView *view,
GladeWidget *widget);
LIBGLADEUI_API
void glade_clipboard_view_remove (GladeClipboardView *view,
GladeWidget *widget);
LIBGLADEUI_API
void glade_clipboard_view_refresh_sel (GladeClipboardView *view);
GtkWidget *glade_clipboard_view_new (GladeClipboard *clipboard);
void glade_clipboard_view_add (GladeClipboardView *view,
GladeWidget *widget);
void glade_clipboard_view_remove (GladeClipboardView *view,
GladeWidget *widget);
void glade_clipboard_view_refresh_sel (GladeClipboardView *view);
G_END_DECLS
......
......@@ -13,8 +13,9 @@ G_BEGIN_DECLS
typedef struct _GladeClipboard GladeClipboard;
typedef struct _GladeClipboardClass GladeClipboardClass;
struct _GladeClipboard {
GObject __parent__;
struct _GladeClipboard
{
GObject parent_instance;
GList *widgets; /* A list of GladeWidget's on the clipboard */
GList *selection; /* Selection list of GladeWidget's */
......@@ -22,32 +23,31 @@ struct _GladeClipboard {
GtkWidget *view; /* see glade-clipboard-view.c */
};
struct _GladeClipboardClass {
GObjectClass __parent__;
struct _GladeClipboardClass
{
GObjectClass parent_class;
};
LIBGLADEUI_API
GType glade_clipboard_get_type (void);
LIBGLADEUI_API
GladeClipboard *glade_clipboard_new (void);
LIBGLADEUI_API
void glade_clipboard_add (GladeClipboard *clipboard,
GList *widgets);
LIBGLADEUI_API
void glade_clipboard_remove (GladeClipboard *clipboard,
GList *widgets);
LIBGLADEUI_API
void glade_clipboard_selection_add (GladeClipboard *clipboard,
GladeWidget *widget);
LIBGLADEUI_API
void glade_clipboard_selection_remove (GladeClipboard *clipboard,
GladeWidget *widget);
LIBGLADEUI_API
void glade_clipboard_selection_clear (GladeClipboard *clipboard);
LIBGLADEUI_API
gboolean glade_clipboard_get_has_selection (GladeClipboard *clipboard);
......
......@@ -54,83 +54,83 @@ struct _GladeCommandClass
};
LIBGLADEUI_API
GType glade_command_get_type (void);
LIBGLADEUI_API
void glade_command_push_group (const gchar *fmt,
...);
LIBGLADEUI_API
void glade_command_pop_group (void);
LIBGLADEUI_API
gboolean glade_command_execute (GladeCommand *command);
LIBGLADEUI_API
gboolean glade_command_undo (GladeCommand *command);
LIBGLADEUI_API
gboolean glade_command_unifies (GladeCommand *command,
GladeCommand *other);
LIBGLADEUI_API
void glade_command_collapse (GladeCommand *command,
GladeCommand *other);
/************************** properties *********************************/
LIBGLADEUI_API
void glade_command_set_property (GladeProperty *property,
...);
LIBGLADEUI_API
void glade_command_set_property_value (GladeProperty *property,
const GValue *value);
LIBGLADEUI_API
void glade_command_set_properties (GladeProperty *property,
const GValue *old_value,
const GValue *new_value,
...);
LIBGLADEUI_API
void glade_command_set_properties_list (GladeProject *project,
GList *props); /* list of GCSetPropData */
/************************** name ******************************/
LIBGLADEUI_API
void glade_command_set_name (GladeWidget *glade_widget, const gchar *name);
/************************ create/delete ******************************/
LIBGLADEUI_API
void glade_command_delete (GList *widgets);
LIBGLADEUI_API
GladeWidget *glade_command_create (GladeWidgetAdaptor *adaptor,
GladeWidget *parent,
GladePlaceholder *placeholder,
GladeProject *project);
/************************ cut/copy/paste ******************************/
LIBGLADEUI_API