diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-07-31 19:55:24 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-07-31 19:55:24 +0800 |
commit | 0b3f4745f07cf3206ee2060e37062f5b281c6d0e (patch) | |
tree | 1aab52bba1efb6ff44a46160414ee2bde6d810f0 /lib/egg/egg-toolbars-model.h | |
parent | 976ceb7fb2c0a18eaf198cc29d1104daee570f09 (diff) | |
download | gsoc2013-epiphany-0b3f4745f07cf3206ee2060e37062f5b281c6d0e.tar gsoc2013-epiphany-0b3f4745f07cf3206ee2060e37062f5b281c6d0e.tar.gz gsoc2013-epiphany-0b3f4745f07cf3206ee2060e37062f5b281c6d0e.tar.bz2 gsoc2013-epiphany-0b3f4745f07cf3206ee2060e37062f5b281c6d0e.tar.lz gsoc2013-epiphany-0b3f4745f07cf3206ee2060e37062f5b281c6d0e.tar.xz gsoc2013-epiphany-0b3f4745f07cf3206ee2060e37062f5b281c6d0e.tar.zst gsoc2013-epiphany-0b3f4745f07cf3206ee2060e37062f5b281c6d0e.zip |
Small code style cleanups.
2004-07-31 Christian Persch <chpe@cvs.gnome.org>
* lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type),
(toolbars_toolbar_new), (toolbars_item_new),
(egg_toolbars_model_set_flags), (egg_toolbars_model_add_separator),
(impl_add_item), (egg_toolbars_model_add_toolbar),
(egg_toolbars_model_class_init),
(egg_toolbars_model_remove_toolbar),
(egg_toolbars_model_remove_item), (egg_toolbars_model_move_item),
(egg_toolbars_model_get_item_id),
(egg_toolbars_model_get_item_data),
(egg_toolbars_model_get_item_type):
* lib/egg/egg-toolbars-model.h:
Small code style cleanups.
Diffstat (limited to 'lib/egg/egg-toolbars-model.h')
-rwxr-xr-x | lib/egg/egg-toolbars-model.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/lib/egg/egg-toolbars-model.h b/lib/egg/egg-toolbars-model.h index b2630b3d4..11d9bbe8b 100755 --- a/lib/egg/egg-toolbars-model.h +++ b/lib/egg/egg-toolbars-model.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003 Marco Pesenti Gritti + * Copyright (C) 2003-2004 Marco Pesenti Gritti * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,7 +25,6 @@ G_BEGIN_DECLS -typedef struct EggToolbarsModelClass EggToolbarsModelClass; #define EGG_TYPE_TOOLBARS_MODEL (egg_toolbars_model_get_type ()) #define EGG_TOOLBARS_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_TOOLBARS_MODEL, EggToolbarsModel)) @@ -34,8 +33,9 @@ typedef struct EggToolbarsModelClass EggToolbarsModelClass; #define EGG_IS_TOOLBARS_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TOOLBARS_MODEL)) #define EGG_TOOLBARS_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TOOLBARS_MODEL, EggToolbarsModelClass)) -typedef struct EggToolbarsModel EggToolbarsModel; -typedef struct EggToolbarsModelPrivate EggToolbarsModelPrivate; +typedef struct EggToolbarsModel EggToolbarsModel; +typedef struct EggToolbarsModelPrivate EggToolbarsModelPrivate; +typedef struct EggToolbarsModelClass EggToolbarsModelClass; #define EGG_TOOLBAR_ITEM_TYPE "application/x-toolbar-item" @@ -62,17 +62,17 @@ struct EggToolbarsModelClass GObjectClass parent_class; /* Signals */ - void (* item_added) (EggToolbarsModel *group, + void (* item_added) (EggToolbarsModel *model, int toolbar_position, int position); - void (* item_removed) (EggToolbarsModel *group, + void (* item_removed) (EggToolbarsModel *model, int toolbar_position, int position); - void (* toolbar_added) (EggToolbarsModel *group, + void (* toolbar_added) (EggToolbarsModel *model, int position); - void (* toolbar_changed) (EggToolbarsModel *group, + void (* toolbar_changed) (EggToolbarsModel *model, int position); - void (* toolbar_removed) (EggToolbarsModel *group, + void (* toolbar_removed) (EggToolbarsModel *model, int position); char * (* get_item_type) (EggToolbarsModel *model, GdkAtom dnd_type); @@ -93,55 +93,55 @@ struct EggToolbarsModelClass GType egg_toolbars_model_get_type (void); EggToolbarsModel *egg_toolbars_model_new (void); -gboolean egg_toolbars_model_load (EggToolbarsModel *t, +gboolean egg_toolbars_model_load (EggToolbarsModel *model, const char *xml_file); -void egg_toolbars_model_save (EggToolbarsModel *t, +void egg_toolbars_model_save (EggToolbarsModel *model, const char *xml_file, const char *version); -int egg_toolbars_model_add_toolbar (EggToolbarsModel *t, +int egg_toolbars_model_add_toolbar (EggToolbarsModel *model, int position, const char *name); -EggTbModelFlags egg_toolbars_model_get_flags (EggToolbarsModel *t, +EggTbModelFlags egg_toolbars_model_get_flags (EggToolbarsModel *model, int toolbar_position); -void egg_toolbars_model_set_flags (EggToolbarsModel *t, +void egg_toolbars_model_set_flags (EggToolbarsModel *model, int toolbar_position, EggTbModelFlags flags); -void egg_toolbars_model_add_separator (EggToolbarsModel *t, +void egg_toolbars_model_add_separator (EggToolbarsModel *model, int toolbar_position, int position); -char *egg_toolbars_model_get_item_type (EggToolbarsModel *t, +char *egg_toolbars_model_get_item_type (EggToolbarsModel *model, GdkAtom dnd_type); -char *egg_toolbars_model_get_item_id (EggToolbarsModel *t, +char *egg_toolbars_model_get_item_id (EggToolbarsModel *model, const char *type, const char *name); -char *egg_toolbars_model_get_item_data (EggToolbarsModel *t, +char *egg_toolbars_model_get_item_data (EggToolbarsModel *model, const char *type, const char *id); -gboolean egg_toolbars_model_add_item (EggToolbarsModel *t, +gboolean egg_toolbars_model_add_item (EggToolbarsModel *model, int toolbar_position, int position, const char *id, const char *type); -void egg_toolbars_model_remove_toolbar (EggToolbarsModel *t, +void egg_toolbars_model_remove_toolbar (EggToolbarsModel *model, int position); -void egg_toolbars_model_remove_item (EggToolbarsModel *t, +void egg_toolbars_model_remove_item (EggToolbarsModel *model, int toolbar_position, int position); -void egg_toolbars_model_move_item (EggToolbarsModel *t, +void egg_toolbars_model_move_item (EggToolbarsModel *model, int toolbar_position, int position, int new_toolbar_position, int new_position); -int egg_toolbars_model_n_items (EggToolbarsModel *t, +int egg_toolbars_model_n_items (EggToolbarsModel *model, int toolbar_position); -void egg_toolbars_model_item_nth (EggToolbarsModel *t, +void egg_toolbars_model_item_nth (EggToolbarsModel *model, int toolbar_position, int position, gboolean *is_separator, const char **id, const char **type); -int egg_toolbars_model_n_toolbars (EggToolbarsModel *t); -const char *egg_toolbars_model_toolbar_nth (EggToolbarsModel *t, +int egg_toolbars_model_n_toolbars (EggToolbarsModel *model); +const char *egg_toolbars_model_toolbar_nth (EggToolbarsModel *model, int position); G_END_DECLS |