[nautilus-actions/file-manager-actions] Validate core/
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions/file-manager-actions] Validate core/
- Date: Tue, 8 Sep 2015 12:21:07 +0000 (UTC)
commit c284e640d7cad3fe87f917dc319461a3ad252820
Author: Pierre Wieser <pwieser trychlos org>
Date: Tue Sep 8 14:18:57 2015 +0200
Validate core/
src/core/README | 2 +-
src/core/fma-about.c | 1 +
src/core/fma-about.h | 2 +-
src/core/fma-data-boxed.c | 2 +-
src/core/fma-export-format.c | 10 +++---
src/core/fma-exporter.c | 1 -
src/core/fma-factory-object.c | 44 ++++++++++++++--------------
src/core/fma-iduplicable.c | 8 ++--
src/core/fma-importer.c | 8 ++--
src/core/fma-io-provider.c | 64 ++++++++++++++++++++--------------------
src/core/fma-ioptions-list.c | 4 +-
src/core/fma-module.c | 24 +++++++-------
src/core/fma-object-action.c | 46 ++++++++++++++--------------
src/core/fma-object-menu.c | 34 +++++++++++-----------
src/core/fma-object-profile.c | 50 ++++++++++++++++----------------
src/core/fma-pivot.c | 26 ++++++++--------
src/core/fma-selected-info.c | 16 +++++-----
src/core/fma-settings.c | 16 +++++-----
18 files changed, 179 insertions(+), 179 deletions(-)
---
diff --git a/src/core/README b/src/core/README
index 9a5d1c1..8714e89 100644
--- a/src/core/README
+++ b/src/core/README
@@ -3,6 +3,6 @@ src/core
This is the core dynamic library for FileManager-Actions.
Come here which is not in the API and should yet be shared between several
-N-A components.
+FileManager-Actions components.
P. Wieser, last updated on sept. 2015
diff --git a/src/core/fma-about.c b/src/core/fma-about.c
index b579464..41fe046 100644
--- a/src/core/fma-about.c
+++ b/src/core/fma-about.c
@@ -65,6 +65,7 @@ fma_about_display( GtkWindow *toplevel )
};
static const gchar *documenters[] = {
+ "Pierre Wieser <pwieser trychlos org>",
NULL
};
diff --git a/src/core/fma-about.h b/src/core/fma-about.h
index 572deaf..37d740d 100644
--- a/src/core/fma-about.h
+++ b/src/core/fma-about.h
@@ -32,7 +32,7 @@
/* @title NAAbout
* @short_description: The #NAAbout API
- * @include: runtime/fma-about.h
+ * @include: core/fma-about.h
*
* These functions displays the 'About FileManager-Actions' dialog box,
* and provides contant informations about the application.
diff --git a/src/core/fma-data-boxed.c b/src/core/fma-data-boxed.c
index cf61960..cad8dec 100644
--- a/src/core/fma-data-boxed.c
+++ b/src/core/fma-data-boxed.c
@@ -62,7 +62,7 @@ typedef struct {
*/
struct _FMADataBoxedPrivate {
gboolean dispose_has_run;
- const FMADataDef *data_def ;
+ const FMADataDef *data_def ;
const DataBoxedDef *boxed_def;
};
diff --git a/src/core/fma-export-format.c b/src/core/fma-export-format.c
index 80f1338..30aae32 100644
--- a/src/core/fma-export-format.c
+++ b/src/core/fma-export-format.c
@@ -43,11 +43,11 @@ struct _FMAExportFormatClassPrivate {
/* private instance data
*/
struct _FMAExportFormatPrivate {
- gboolean dispose_has_run;
- gchar *format;
- gchar *label;
- gchar *description;
- GdkPixbuf *pixbuf;
+ gboolean dispose_has_run;
+ gchar *format;
+ gchar *label;
+ gchar *description;
+ GdkPixbuf *pixbuf;
FMAIExporter *provider;
};
diff --git a/src/core/fma-exporter.c b/src/core/fma-exporter.c
index 10c7df5..48e3ed0 100644
--- a/src/core/fma-exporter.c
+++ b/src/core/fma-exporter.c
@@ -48,7 +48,6 @@ typedef struct {
NAExporterFormatStr;
static NAExporterFormatStr st_format_ask = {
-
EXPORTER_FORMAT_ASK,
N_( "_Ask me" ),
N_( "You will be asked for the format to choose each time an item " \
diff --git a/src/core/fma-factory-object.c b/src/core/fma-factory-object.c
index aa0bbba..4c39865 100644
--- a/src/core/fma-factory-object.c
+++ b/src/core/fma-factory-object.c
@@ -59,8 +59,8 @@ enum {
typedef struct {
FMAIFactoryObject *object;
FMAIFactoryProvider *reader;
- void *reader_data;
- GSList **messages;
+ void *reader_data;
+ GSList **messages;
}
NafoReadIter;
@@ -68,16 +68,16 @@ typedef struct {
*/
typedef struct {
FMAIFactoryProvider *writer;
- void *writer_data;
- GSList **messages;
- guint code;
+ void *writer_data;
+ GSList **messages;
+ guint code;
}
NafoWriteIter;
/* while iterating on is_valid
*/
typedef struct {
- FMAIFactoryObject *object;
+ FMAIFactoryObject *object;
gboolean is_valid;
}
NafoValidIter;
@@ -92,24 +92,24 @@ typedef struct {
extern gboolean ifactory_object_initialized;
extern gboolean ifactory_object_finalized;
-static gboolean define_class_properties_iter( const FMADataDef *def, GObjectClass *class );
-static gboolean set_defaults_iter( FMADataDef *def, NafoDefaultIter *data );
-static gboolean is_valid_mandatory_iter( const FMADataDef *def, NafoValidIter *data );
-static gboolean read_data_iter( FMADataDef *def, NafoReadIter *iter );
-static gboolean write_data_iter( const FMAIFactoryObject *object, FMADataBoxed *boxed, NafoWriteIter
*iter );
+static gboolean define_class_properties_iter( const FMADataDef *def, GObjectClass *class );
+static gboolean set_defaults_iter( FMADataDef *def, NafoDefaultIter *data );
+static gboolean is_valid_mandatory_iter( const FMADataDef *def, NafoValidIter *data );
+static gboolean read_data_iter( FMADataDef *def, NafoReadIter *iter );
+static gboolean write_data_iter( const FMAIFactoryObject *object, FMADataBoxed *boxed, NafoWriteIter
*iter );
static FMADataGroup *v_get_groups( const FMAIFactoryObject *object );
-static void v_copy( FMAIFactoryObject *target, const FMAIFactoryObject *source );
-static gboolean v_are_equal( const FMAIFactoryObject *a, const FMAIFactoryObject *b );
-static gboolean v_is_valid( const FMAIFactoryObject *object );
-static void v_read_start( FMAIFactoryObject *serializable, const FMAIFactoryProvider *reader, void
*reader_data, GSList **messages );
-static void v_read_done( FMAIFactoryObject *serializable, const FMAIFactoryProvider *reader, void
*reader_data, GSList **messages );
-static guint v_write_start( FMAIFactoryObject *serializable, const FMAIFactoryProvider *reader, void
*reader_data, GSList **messages );
-static guint v_write_done( FMAIFactoryObject *serializable, const FMAIFactoryProvider *reader, void
*reader_data, GSList **messages );
-
-static void attach_boxed_to_object( FMAIFactoryObject *object, FMADataBoxed *boxed );
-static void free_data_boxed_list( FMAIFactoryObject *object );
-static void iter_on_data_defs( const FMADataGroup *idgroups, guint mode, FMADataDefIterFunc pfn,
void *user_data );
+static void v_copy( FMAIFactoryObject *target, const FMAIFactoryObject *source );
+static gboolean v_are_equal( const FMAIFactoryObject *a, const FMAIFactoryObject *b );
+static gboolean v_is_valid( const FMAIFactoryObject *object );
+static void v_read_start( FMAIFactoryObject *serializable, const FMAIFactoryProvider *reader, void
*reader_data, GSList **messages );
+static void v_read_done( FMAIFactoryObject *serializable, const FMAIFactoryProvider *reader, void
*reader_data, GSList **messages );
+static guint v_write_start( FMAIFactoryObject *serializable, const FMAIFactoryProvider *reader, void
*reader_data, GSList **messages );
+static guint v_write_done( FMAIFactoryObject *serializable, const FMAIFactoryProvider *reader, void
*reader_data, GSList **messages );
+
+static void attach_boxed_to_object( FMAIFactoryObject *object, FMADataBoxed *boxed );
+static void free_data_boxed_list( FMAIFactoryObject *object );
+static void iter_on_data_defs( const FMADataGroup *idgroups, guint mode, FMADataDefIterFunc pfn,
void *user_data );
/*
* fma_factory_object_define_properties:
diff --git a/src/core/fma-iduplicable.c b/src/core/fma-iduplicable.c
index 7d8e560..eccf954 100644
--- a/src/core/fma-iduplicable.c
+++ b/src/core/fma-iduplicable.c
@@ -43,8 +43,8 @@ struct _FMAIDuplicableInterfacePrivate {
*/
typedef struct {
FMAIDuplicable *origin;
- gboolean modified;
- gboolean valid;
+ gboolean modified;
+ gboolean valid;
}
DuplicableStr;
@@ -59,8 +59,8 @@ enum {
};
static FMAIDuplicableInterface *st_interface = NULL;
-static guint st_initializations = 0;
-static gint st_signals[ LAST_SIGNAL ] = { 0 };
+static guint st_initializations = 0;
+static gint st_signals[ LAST_SIGNAL ] = { 0 };
static GType register_type( void );
static void interface_base_init( FMAIDuplicableInterface *klass );
diff --git a/src/core/fma-importer.c b/src/core/fma-importer.c
index 0a35ab4..b9b919a 100644
--- a/src/core/fma-importer.c
+++ b/src/core/fma-importer.c
@@ -90,11 +90,11 @@ static FMAImportModeStr st_import_ask_mode = {
};
static FMAImporterResult *import_from_uri( const FMAPivot *pivot, GList *modules, const gchar *uri );
-static void manage_import_mode( FMAImporterParms *parms, GList *results,
FMAImporterAskUserParms *ask_parms, FMAImporterResult *result );
+static void manage_import_mode( FMAImporterParms *parms, GList *results,
FMAImporterAskUserParms *ask_parms, FMAImporterResult *result );
static FMAObjectItem *is_importing_already_exists( FMAImporterParms *parms, GList *results,
FMAImporterResult *result );
-static void renumber_label_item( FMAObjectItem *item );
-static guint ask_user_for_mode( const FMAObjectItem *importing, const FMAObjectItem *existing,
FMAImporterAskUserParms *parms );
-static guint get_id_from_string( const gchar *str );
+static void renumber_label_item( FMAObjectItem *item );
+static guint ask_user_for_mode( const FMAObjectItem *importing, const FMAObjectItem *existing,
FMAImporterAskUserParms *parms );
+static guint get_id_from_string( const gchar *str );
static FMAIOption *get_mode_from_struct( const FMAImportModeStr *str );
/* i18n: '%s' stands for the file URI */
diff --git a/src/core/fma-io-provider.c b/src/core/fma-io-provider.c
index 150386a..ef52667 100644
--- a/src/core/fma-io-provider.c
+++ b/src/core/fma-io-provider.c
@@ -50,12 +50,12 @@ struct _FMAIOProviderClassPrivate {
/* private instance data
*/
struct _FMAIOProviderPrivate {
- gboolean dispose_has_run;
- gchar *id;
+ gboolean dispose_has_run;
+ gchar *id;
FMAIIOProvider *provider;
- gulong item_changed_handler;
- gboolean writable;
- guint reason;
+ gulong item_changed_handler;
+ gboolean writable;
+ guint reason;
};
/* FMAIOProvider properties
@@ -66,40 +66,40 @@ enum {
#define IO_PROVIDER_PROP_ID "fma-io-provider-prop-id"
-static const gchar *st_enter_bug = N_( "Please, be kind enough to fill out a bug report on "
+static const gchar *st_enter_bug = N_( "Please, be kind enough to fill out a bug report on "
"https://bugzilla.gnome.org/enter_bug.cgi?product=filemanager-actions." );
-static GObjectClass *st_parent_class = NULL;
-static GList *st_io_providers = NULL;
+static GObjectClass *st_parent_class = NULL;
+static GList *st_io_providers = NULL;
-static GType register_type( void );
-static void class_init( FMAIOProviderClass *klass );
-static void instance_init( GTypeInstance *instance, gpointer klass );
-static void instance_constructed( GObject *object );
-static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
-static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
-static void instance_dispose( GObject *object );
-static void instance_finalize( GObject *object );
+static GType register_type( void );
+static void class_init( FMAIOProviderClass *klass );
+static void instance_init( GTypeInstance *instance, gpointer klass );
+static void instance_constructed( GObject *object );
+static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
+static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
+static void instance_dispose( GObject *object );
+static void instance_finalize( GObject *object );
#if 0
-static void dump( const FMAIOProvider *provider );
-static void dump_providers_list( GList *providers );
+static void dump( const FMAIOProvider *provider );
+static void dump_providers_list( GList *providers );
#endif
static FMAIOProvider *io_provider_new( const FMAPivot *pivot, FMAIIOProvider *module, const gchar *id );
-static GList *io_providers_list_add_from_plugins( const FMAPivot *pivot, GList *list );
-static GList *io_providers_list_add_from_prefs( const FMAPivot *pivot, GList *objects_list );
-static GSList *io_providers_get_from_prefs( void );
-static GList *io_providers_list_add_from_write_order( const FMAPivot *pivot, GList *objects_list );
-static GList *io_providers_list_append_object( const FMAPivot *pivot, GList *list, FMAIIOProvider
*module, const gchar *id );
-static void io_providers_list_set_module( const FMAPivot *pivot, FMAIOProvider *provider_object,
FMAIIOProvider *provider_module );
-static gboolean is_conf_writable( const FMAIOProvider *provider, const FMAPivot *pivot, gboolean
*mandatory );
-static gboolean is_finally_writable( const FMAIOProvider *provider, const FMAPivot *pivot, guint
*reason );
-static GList *load_items_filter_unwanted_items( const FMAPivot *pivot, GList *merged, guint
loadable_set );
-static GList *load_items_filter_unwanted_items_rec( GList *merged, guint loadable_set );
-static GList *load_items_get_merged_list( const FMAPivot *pivot, guint loadable_set, GSList
**messages );
-static GList *load_items_hierarchy_build( GList **tree, GSList *level_zero, gboolean list_if_empty,
FMAObjectItem *parent );
-static GList *load_items_hierarchy_sort( const FMAPivot *pivot, GList *tree, GCompareFunc fn );
-static gint peek_item_by_id_compare( const FMAObject *obj, const gchar *id );
+static GList *io_providers_list_add_from_plugins( const FMAPivot *pivot, GList *list );
+static GList *io_providers_list_add_from_prefs( const FMAPivot *pivot, GList *objects_list );
+static GSList *io_providers_get_from_prefs( void );
+static GList *io_providers_list_add_from_write_order( const FMAPivot *pivot, GList *objects_list );
+static GList *io_providers_list_append_object( const FMAPivot *pivot, GList *list, FMAIIOProvider
*module, const gchar *id );
+static void io_providers_list_set_module( const FMAPivot *pivot, FMAIOProvider *provider_object,
FMAIIOProvider *provider_module );
+static gboolean is_conf_writable( const FMAIOProvider *provider, const FMAPivot *pivot, gboolean
*mandatory );
+static gboolean is_finally_writable( const FMAIOProvider *provider, const FMAPivot *pivot, guint
*reason );
+static GList *load_items_filter_unwanted_items( const FMAPivot *pivot, GList *merged, guint
loadable_set );
+static GList *load_items_filter_unwanted_items_rec( GList *merged, guint loadable_set );
+static GList *load_items_get_merged_list( const FMAPivot *pivot, guint loadable_set, GSList
**messages );
+static GList *load_items_hierarchy_build( GList **tree, GSList *level_zero, gboolean list_if_empty,
FMAObjectItem *parent );
+static GList *load_items_hierarchy_sort( const FMAPivot *pivot, GList *tree, GCompareFunc fn );
+static gint peek_item_by_id_compare( const FMAObject *obj, const gchar *id );
static FMAIOProvider *peek_provider_by_id( const GList *providers, const gchar *id );
GType
diff --git a/src/core/fma-ioptions-list.c b/src/core/fma-ioptions-list.c
index 45e914c..197461a 100644
--- a/src/core/fma-ioptions-list.c
+++ b/src/core/fma-ioptions-list.c
@@ -79,7 +79,7 @@ static void ioptions_list_free_options( const FMAIOptionsList *instance,
static void ioptions_list_free_ask_option( const FMAIOptionsList *instance, GtkWidget
*container_parent, FMAIOption *option );
static GList *options_list_get_options( const FMAIOptionsList *instance, GtkWidget *container_parent );
static void options_list_free_options( const FMAIOptionsList *instance, GtkWidget *container_parent,
GList *options );
-static FMAIOption *options_list_get_ask_option( const FMAIOptionsList *instance, GtkWidget
*container_parent );
+static FMAIOption *options_list_get_ask_option( const FMAIOptionsList *instance, GtkWidget
*container_parent );
static void options_list_free_ask_option( const FMAIOptionsList *instance, GtkWidget
*container_parent, FMAIOption *ask_option );
static gboolean get_options_list_container_initialized( GtkWidget *container_parent );
static void set_options_list_container_initialized( GtkWidget *container_parent, gboolean
initialized );
@@ -89,7 +89,7 @@ static GtkWidget *get_options_list_first_button( GtkWidget *container );
static void set_options_list_first_button( GtkWidget *container, GtkWidget *button );
static gboolean get_options_list_instance_initialized( const FMAIOptionsList *instance );
static void set_options_list_instance_initialized( const FMAIOptionsList *instance, gboolean
initialized );
-static FMAIOption *get_options_list_option( GtkWidget *container );
+static FMAIOption *get_options_list_option( GtkWidget *container );
static void set_options_list_option( GtkWidget *container, FMAIOption *option );
static const gchar *get_options_list_option_id( GtkWidget *container );
static void set_options_list_option_id( GtkWidget *container, const gchar *id );
diff --git a/src/core/fma-module.c b/src/core/fma-module.c
index 19ae052..fd14e3d 100644
--- a/src/core/fma-module.c
+++ b/src/core/fma-module.c
@@ -62,21 +62,21 @@ struct _FMAModulePrivate {
static GTypeModuleClass *st_parent_class = NULL;
-static GType register_type( void );
-static void class_init( FMAModuleClass *klass );
-static void instance_init( GTypeInstance *instance, gpointer klass );
-static void instance_dispose( GObject *object );
-static void instance_finalize( GObject *object );
+static GType register_type( void );
+static void class_init( FMAModuleClass *klass );
+static void instance_init( GTypeInstance *instance, gpointer klass );
+static void instance_dispose( GObject *object );
+static void instance_finalize( GObject *object );
static FMAModule *module_new( const gchar *filename );
-static gboolean on_module_load( GTypeModule *gmodule );
-static gboolean is_a_na_plugin( FMAModule *module );
-static gboolean plugin_check( FMAModule *module, const gchar *symbol, gpointer *pfn );
-static void register_module_types( FMAModule *module );
-static void add_module_type( FMAModule *module, GType type );
-static void object_weak_notify( FMAModule *module, GObject *object );
-
-static void on_module_unload( GTypeModule *gmodule );
+static gboolean on_module_load( GTypeModule *gmodule );
+static gboolean is_a_na_plugin( FMAModule *module );
+static gboolean plugin_check( FMAModule *module, const gchar *symbol, gpointer *pfn );
+static void register_module_types( FMAModule *module );
+static void add_module_type( FMAModule *module, GType type );
+static void object_weak_notify( FMAModule *module, GObject *object );
+
+static void on_module_unload( GTypeModule *gmodule );
GType
fma_module_get_type( void )
diff --git a/src/core/fma-object-action.c b/src/core/fma-object-action.c
index eb983d8..fc84639 100644
--- a/src/core/fma-object-action.c
+++ b/src/core/fma-object-action.c
@@ -63,35 +63,35 @@ extern FMADataDef data_def_action_v1 []; /* defined in fma-object-action-fact
static FMAObjectItemClass *st_parent_class = NULL;
-static GType register_type( void );
-static void class_init( FMAObjectActionClass *klass );
-static void instance_init( GTypeInstance *instance, gpointer klass );
-static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
-static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
-static void instance_dispose( GObject *object );
-static void instance_finalize( GObject *object );
-
-static void object_dump( const FMAObject *object );
-static gboolean object_are_equal( const FMAObject *a, const FMAObject *b );
-static gboolean object_is_valid( const FMAObject *object );
-
-static void ifactory_object_iface_init( FMAIFactoryObjectInterface *iface, void *user_data );
-static guint ifactory_object_get_version( const FMAIFactoryObject *instance );
+static GType register_type( void );
+static void class_init( FMAObjectActionClass *klass );
+static void instance_init( GTypeInstance *instance, gpointer klass );
+static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
+static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
+static void instance_dispose( GObject *object );
+static void instance_finalize( GObject *object );
+
+static void object_dump( const FMAObject *object );
+static gboolean object_are_equal( const FMAObject *a, const FMAObject *b );
+static gboolean object_is_valid( const FMAObject *object );
+
+static void ifactory_object_iface_init( FMAIFactoryObjectInterface *iface, void *user_data );
+static guint ifactory_object_get_version( const FMAIFactoryObject *instance );
static FMADataGroup *ifactory_object_get_groups( const FMAIFactoryObject *instance );
-static void ifactory_object_read_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*reader, void *reader_data, GSList **messages );
-static guint ifactory_object_write_start( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
-static guint ifactory_object_write_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
+static void ifactory_object_read_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*reader, void *reader_data, GSList **messages );
+static guint ifactory_object_write_start( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
+static guint ifactory_object_write_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
-static void icontext_iface_init( FMAIContextInterface *iface, void *user_data );
-static gboolean icontext_is_candidate( FMAIContext *object, guint target, GList *selection );
+static void icontext_iface_init( FMAIContextInterface *iface, void *user_data );
+static gboolean icontext_is_candidate( FMAIContext *object, guint target, GList *selection );
static FMAObjectProfile *read_done_convert_v1_to_v2( FMAIFactoryObject *instance );
-static void read_done_deals_with_toolbar_label( FMAIFactoryObject *instance );
+static void read_done_deals_with_toolbar_label( FMAIFactoryObject *instance );
-static guint write_done_write_profiles( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
+static guint write_done_write_profiles( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
-static gboolean is_valid_label( const FMAObjectAction *action );
-static gboolean is_valid_toolbar_label( const FMAObjectAction *action );
+static gboolean is_valid_label( const FMAObjectAction *action );
+static gboolean is_valid_toolbar_label( const FMAObjectAction *action );
GType
fma_object_action_get_type( void )
diff --git a/src/core/fma-object-menu.c b/src/core/fma-object-menu.c
index 10aad08..0915447 100644
--- a/src/core/fma-object-menu.c
+++ b/src/core/fma-object-menu.c
@@ -60,25 +60,25 @@ extern FMADataGroup menu_data_groups []; /* defined in
na-item-menu-factory.c
static FMAObjectItemClass *st_parent_class = NULL;
-static GType register_type( void );
-static void class_init( FMAObjectMenuClass *klass );
-static void instance_init( GTypeInstance *instance, gpointer klass );
-static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
-static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
-static void instance_dispose( GObject *object );
-static void instance_finalize( GObject *object );
-
-static void object_dump( const FMAObject *object );
-
-static void ifactory_object_iface_init( FMAIFactoryObjectInterface *iface, void *user_data );
-static guint ifactory_object_get_version( const FMAIFactoryObject *instance );
+static GType register_type( void );
+static void class_init( FMAObjectMenuClass *klass );
+static void instance_init( GTypeInstance *instance, gpointer klass );
+static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
+static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
+static void instance_dispose( GObject *object );
+static void instance_finalize( GObject *object );
+
+static void object_dump( const FMAObject *object );
+
+static void ifactory_object_iface_init( FMAIFactoryObjectInterface *iface, void *user_data );
+static guint ifactory_object_get_version( const FMAIFactoryObject *instance );
static FMADataGroup *ifactory_object_get_groups( const FMAIFactoryObject *instance );
-static void ifactory_object_read_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*reader, void *reader_data, GSList **messages );
-static guint ifactory_object_write_start( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
-static guint ifactory_object_write_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
+static void ifactory_object_read_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*reader, void *reader_data, GSList **messages );
+static guint ifactory_object_write_start( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
+static guint ifactory_object_write_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
-static void icontext_iface_init( FMAIContextInterface *iface, void *user_data );
-static gboolean icontext_is_candidate( FMAIContext *object, guint target, GList *selection );
+static void icontext_iface_init( FMAIContextInterface *iface, void *user_data );
+static gboolean icontext_is_candidate( FMAIContext *object, guint target, GList *selection );
GType
fma_object_menu_get_type( void )
diff --git a/src/core/fma-object-profile.c b/src/core/fma-object-profile.c
index 65df1f5..079650f 100644
--- a/src/core/fma-object-profile.c
+++ b/src/core/fma-object-profile.c
@@ -68,35 +68,35 @@ extern FMADataGroup profile_data_groups []; /* defined in na-item-profile-factor
static FMAObjectIdClass *st_parent_class = NULL;
-static GType register_type( void );
-static void class_init( FMAObjectProfileClass *klass );
-static void instance_init( GTypeInstance *instance, gpointer klass );
-static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
-static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
-static void instance_dispose( GObject *object );
-static void instance_finalize( GObject *object );
-
-static void object_dump( const FMAObject *object );
-static gboolean object_is_valid( const FMAObject *object );
-
-static void ifactory_object_iface_init( FMAIFactoryObjectInterface *iface, void *user_data );
-static guint ifactory_object_get_version( const FMAIFactoryObject *instance );
+static GType register_type( void );
+static void class_init( FMAObjectProfileClass *klass );
+static void instance_init( GTypeInstance *instance, gpointer klass );
+static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
+static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
+static void instance_dispose( GObject *object );
+static void instance_finalize( GObject *object );
+
+static void object_dump( const FMAObject *object );
+static gboolean object_is_valid( const FMAObject *object );
+
+static void ifactory_object_iface_init( FMAIFactoryObjectInterface *iface, void *user_data );
+static guint ifactory_object_get_version( const FMAIFactoryObject *instance );
static FMADataGroup *ifactory_object_get_groups( const FMAIFactoryObject *instance );
-static void ifactory_object_read_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*reader, void *reader_data, GSList **messages );
-static guint ifactory_object_write_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
+static void ifactory_object_read_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*reader, void *reader_data, GSList **messages );
+static guint ifactory_object_write_done( FMAIFactoryObject *instance, const FMAIFactoryProvider
*writer, void *writer_data, GSList **messages );
-static void icontext_iface_init( FMAIContextInterface *iface, void *user_data );
-static gboolean icontext_is_candidate( FMAIContext *object, guint target, GList *selection );
+static void icontext_iface_init( FMAIContextInterface *iface, void *user_data );
+static gboolean icontext_is_candidate( FMAIContext *object, guint target, GList *selection );
-static gboolean convert_pre_v3_parameters( FMAObjectProfile *profile );
-static gboolean convert_pre_v3_parameters_str( gchar *str );
-static gboolean convert_pre_v3_multiple( FMAObjectProfile *profile );
-static gboolean convert_pre_v3_isfiledir( FMAObjectProfile *profile );
-static void read_done_ending( FMAObjectProfile *profile );
-static void split_path_parameters( FMAObjectProfile *profile );
-static gboolean is_valid_path_parameters( const FMAObjectProfile *profile );
+static gboolean convert_pre_v3_parameters( FMAObjectProfile *profile );
+static gboolean convert_pre_v3_parameters_str( gchar *str );
+static gboolean convert_pre_v3_multiple( FMAObjectProfile *profile );
+static gboolean convert_pre_v3_isfiledir( FMAObjectProfile *profile );
+static void read_done_ending( FMAObjectProfile *profile );
+static void split_path_parameters( FMAObjectProfile *profile );
+static gboolean is_valid_path_parameters( const FMAObjectProfile *profile );
-static gchar *object_id_new_id( const FMAObjectId *item, const FMAObjectId *new_parent );
+static gchar *object_id_new_id( const FMAObjectId *item, const FMAObjectId *new_parent );
GType
fma_object_profile_get_type( void )
diff --git a/src/core/fma-pivot.c b/src/core/fma-pivot.c
index b12c389..7b3a69b 100644
--- a/src/core/fma-pivot.c
+++ b/src/core/fma-pivot.c
@@ -63,7 +63,7 @@ struct _FMAPivotPrivate {
/* timeout to manage i/o providers 'item-changed' burst
*/
- FMATimeout change_timeout;
+ FMATimeout change_timeout;
};
/* FMAPivot properties
@@ -85,23 +85,23 @@ enum {
LAST_SIGNAL
};
-static GObjectClass *st_parent_class = NULL;
-static gint st_burst_timeout = 100; /* burst timeout in msec */
-static gint st_signals[ LAST_SIGNAL ] = { 0 };
+static GObjectClass *st_parent_class = NULL;
+static gint st_burst_timeout = 100; /* burst timeout in msec */
+static gint st_signals[ LAST_SIGNAL ] = { 0 };
-static GType register_type( void );
-static void class_init( FMAPivotClass *klass );
-static void instance_init( GTypeInstance *instance, gpointer klass );
-static void instance_constructed( GObject *object );
-static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
-static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
-static void instance_dispose( GObject *object );
-static void instance_finalize( GObject *object );
+static GType register_type( void );
+static void class_init( FMAPivotClass *klass );
+static void instance_init( GTypeInstance *instance, gpointer klass );
+static void instance_constructed( GObject *object );
+static void instance_get_property( GObject *object, guint property_id, GValue *value, GParamSpec
*spec );
+static void instance_set_property( GObject *object, guint property_id, const GValue *value,
GParamSpec *spec );
+static void instance_dispose( GObject *object );
+static void instance_finalize( GObject *object );
static FMAObjectItem *get_item_from_tree( const FMAPivot *pivot, GList *tree, const gchar *id );
/* FMAIIOProvider management */
-static void on_items_changed_timeout( FMAPivot *pivot );
+static void on_items_changed_timeout( FMAPivot *pivot );
GType
fma_pivot_get_type( void )
diff --git a/src/core/fma-selected-info.c b/src/core/fma-selected-info.c
index a952924..feec8bf 100644
--- a/src/core/fma-selected-info.c
+++ b/src/core/fma-selected-info.c
@@ -67,17 +67,17 @@ struct _FMASelectedInfoPrivate {
static GObjectClass *st_parent_class = NULL;
-static GType register_type( void );
-static void class_init( FMASelectedInfoClass *klass );
-static void instance_init( GTypeInstance *instance, gpointer klass );
-static void instance_dispose( GObject *object );
-static void instance_finalize( GObject *object );
-
-static void dump( const FMASelectedInfo *nsi );
-static const char *dump_file_type( GFileType type );
+static GType register_type( void );
+static void class_init( FMASelectedInfoClass *klass );
+static void instance_init( GTypeInstance *instance, gpointer klass );
+static void instance_dispose( GObject *object );
+static void instance_finalize( GObject *object );
+
+static void dump( const FMASelectedInfo *nsi );
+static const char *dump_file_type( GFileType type );
static FMASelectedInfo *new_from_nautilus_file_info( NautilusFileInfo *item );
static FMASelectedInfo *new_from_uri( const gchar *uri, const gchar *mimetype, gchar **errmsg );
-static void query_file_attributes( FMASelectedInfo *info, GFile *location, gchar **errmsg );
+static void query_file_attributes( FMASelectedInfo *info, GFile *location, gchar **errmsg );
GType
fma_selected_info_get_type( void )
diff --git a/src/core/fma-settings.c b/src/core/fma-settings.c
index 1b14711..9123646 100644
--- a/src/core/fma-settings.c
+++ b/src/core/fma-settings.c
@@ -54,7 +54,7 @@ typedef struct _FMASettingsPrivate FMASettingsPrivate;
typedef struct {
/*< private >*/
- GObject parent;
+ GObject parent;
FMASettingsPrivate *private;
}
FMASettings;
@@ -63,7 +63,7 @@ typedef struct _FMASettingsClassPrivate FMASettingsClassPrivate;
typedef struct {
/*< private >*/
- GObjectClass parent;
+ GObjectClass parent;
FMASettingsClassPrivate *private;
}
FMASettingsClass;
@@ -109,11 +109,11 @@ typedef struct {
/* private instance data
*/
struct _FMASettingsPrivate {
- gboolean dispose_has_run;
- KeyFile *mandatory;
- KeyFile *user;
- GList *content;
- GList *consumers;
+ gboolean dispose_has_run;
+ KeyFile *mandatory;
+ KeyFile *user;
+ GList *content;
+ GList *consumers;
FMATimeout timeout;
};
@@ -198,7 +198,7 @@ typedef struct {
const KeyDef *def;
const gchar *group;
gboolean mandatory;
- FMABoxed *boxed;
+ FMABoxed *boxed;
}
KeyValue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]