Commit 07b42ce2 authored by Pierre Wieser's avatar Pierre Wieser

Review interface initialization in implementations

Add user_data parameter.
parent 97d04a96
2012-01-04 Pierre Wieser <pwieser@trychlos.org>
Review interface initialization in implementations.
* src/core/na-export-format.c (ioption_iface_init):
* src/core/na-import-mode.c (ioption_iface_init):
* src/core/na-importer-ask.c (ioptions_list_iface_init):
* src/core/na-object-action.c
(ifactory_object_iface_init, icontext_iface_init):
* src/core/na-object-menu.c
(ifactory_object_iface_init, icontext_iface_init):
* src/core/na-object-profile.c
(ifactory_object_iface_init, icontext_iface_init):
* src/core/na-object.c (iduplicable_iface_init):
* src/nact/nact-assistant-export.c (ioptions_list_iface_init):
* src/nact/nact-assistant-import.c (ioptions_list_iface_init):
* src/nact/nact-export-ask.c (ioptions_list_iface_init):
* src/nact/nact-main-window.c
(iaction_tab_iface_init, icommand_tab_iface_init,
ibasenames_tab_iface_init, imimetypes_tab_iface_init,
ifolders_tab_iface_init, ischemes_tab_iface_init,
icapabilities_tab_iface_init, ienvironment_tab_iface_init,
iexecution_tab_iface_init, iproperties_tab_iface_init):
* src/nact/nact-preferences-editor.c (ioptions_list_iface_init):
* src/nact/nact-tree-model.c
(imulti_drag_source_init, idrag_dest_init):
* src/nact/nact-tree-view.c (tree_ieditable_iface_init):
* src/test/test-iface-base.c (iface_iface_init): Add user_data parameter.
* src/nact/nact-tree-ieditable.c: Review NactTreeIEditable interface.
* src/nact/nact-ischemes-tab.c: Review NactISchemesTab interface.
......
......@@ -57,7 +57,7 @@ static GObjectClass *st_parent_class = NULL;
static GType register_type( void );
static void class_init( NAExportFormatClass *klass );
static void ioption_iface_init( NAIOptionInterface *iface );
static void ioption_iface_init( NAIOptionInterface *iface, void *user_data );
static void instance_init( GTypeInstance *instance, gpointer klass );
static void instance_dispose( GObject *object );
static void instance_finalize( GObject *object );
......@@ -129,11 +129,11 @@ class_init( NAExportFormatClass *klass )
}
static void
ioption_iface_init( NAIOptionInterface *iface )
ioption_iface_init( NAIOptionInterface *iface, void *user_data )
{
static const gchar *thisfn = "na_export_format_ioption_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_id = ioption_get_id;
iface->get_label = ioption_get_label;
......
......@@ -74,7 +74,7 @@ static GObjectClass *st_parent_class = NULL;
static GType register_type( void );
static void class_init( NAImportModeClass *klass );
static void ioption_iface_init( NAIOptionInterface *iface );
static void ioption_iface_init( NAIOptionInterface *iface, void *user_data );
static gchar *ioption_get_id( const NAIOption *option );
static gchar *ioption_get_label( const NAIOption *option );
static gchar *ioption_get_description( const NAIOption *option );
......@@ -181,11 +181,11 @@ class_init( NAImportModeClass *klass )
}
static void
ioption_iface_init( NAIOptionInterface *iface )
ioption_iface_init( NAIOptionInterface *iface, void *user_data )
{
static const gchar *thisfn = "na_import_mode_ioption_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_id = ioption_get_id;
iface->get_label = ioption_get_label;
......
......@@ -67,7 +67,7 @@ static const gchar *st_uixml = PKGDATADIR "/na-importer-ask.ui";
static GType register_type( void );
static void class_init( NAImporterAskClass *klass );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data );
static GList *ioptions_list_get_modes( const NAIOptionsList *instance, GtkWidget *container );
static void ioptions_list_free_modes( const NAIOptionsList *instance, GtkWidget *container, GList *modes );
static void instance_init( GTypeInstance *instance, gpointer klass );
......@@ -143,11 +143,11 @@ class_init( NAImporterAskClass *klass )
}
static void
ioptions_list_iface_init( NAIOptionsListInterface *iface )
ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_assistant_import_ioptions_list_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_options = ioptions_list_get_modes;
iface->free_options = ioptions_list_free_modes;
......
......@@ -76,14 +76,14 @@ static void object_dump( const NAObject *object );
static gboolean object_are_equal( const NAObject *a, const NAObject *b );
static gboolean object_is_valid( const NAObject *object );
static void ifactory_object_iface_init( NAIFactoryObjectInterface *iface );
static void ifactory_object_iface_init( NAIFactoryObjectInterface *iface, void *user_data );
static guint ifactory_object_get_version( const NAIFactoryObject *instance );
static NADataGroup *ifactory_object_get_groups( const NAIFactoryObject *instance );
static void ifactory_object_read_done( NAIFactoryObject *instance, const NAIFactoryProvider *reader, void *reader_data, GSList **messages );
static guint ifactory_object_write_start( NAIFactoryObject *instance, const NAIFactoryProvider *writer, void *writer_data, GSList **messages );
static guint ifactory_object_write_done( NAIFactoryObject *instance, const NAIFactoryProvider *writer, void *writer_data, GSList **messages );
static void icontext_iface_init( NAIContextInterface *iface );
static void icontext_iface_init( NAIContextInterface *iface, void *user_data );
static gboolean icontext_is_candidate( NAIContext *object, guint target, GList *selection );
static NAObjectProfile *read_done_convert_v1_to_v2( NAIFactoryObject *instance );
......@@ -351,11 +351,11 @@ object_is_valid( const NAObject *object )
}
static void
ifactory_object_iface_init( NAIFactoryObjectInterface *iface )
ifactory_object_iface_init( NAIFactoryObjectInterface *iface, void *user_data )
{
static const gchar *thisfn = "na_object_action_ifactory_object_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_version = ifactory_object_get_version;
iface->get_groups = ifactory_object_get_groups;
......@@ -437,11 +437,11 @@ ifactory_object_write_done( NAIFactoryObject *instance, const NAIFactoryProvider
}
static void
icontext_iface_init( NAIContextInterface *iface )
icontext_iface_init( NAIContextInterface *iface, void *user_data )
{
static const gchar *thisfn = "na_object_action_icontext_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->is_candidate = icontext_is_candidate;
}
......
......@@ -71,14 +71,14 @@ static void instance_finalize( GObject *object );
static void object_dump( const NAObject *object );
static void ifactory_object_iface_init( NAIFactoryObjectInterface *iface );
static void ifactory_object_iface_init( NAIFactoryObjectInterface *iface, void *user_data );
static guint ifactory_object_get_version( const NAIFactoryObject *instance );
static NADataGroup *ifactory_object_get_groups( const NAIFactoryObject *instance );
static void ifactory_object_read_done( NAIFactoryObject *instance, const NAIFactoryProvider *reader, void *reader_data, GSList **messages );
static guint ifactory_object_write_start( NAIFactoryObject *instance, const NAIFactoryProvider *writer, void *writer_data, GSList **messages );
static guint ifactory_object_write_done( NAIFactoryObject *instance, const NAIFactoryProvider *writer, void *writer_data, GSList **messages );
static void icontext_iface_init( NAIContextInterface *iface );
static void icontext_iface_init( NAIContextInterface *iface, void *user_data );
static gboolean icontext_is_candidate( NAIContext *object, guint target, GList *selection );
GType
......@@ -267,11 +267,11 @@ object_dump( const NAObject *object )
}
static void
ifactory_object_iface_init( NAIFactoryObjectInterface *iface )
ifactory_object_iface_init( NAIFactoryObjectInterface *iface, void *user_data )
{
static const gchar *thisfn = "na_object_menu_ifactory_object_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_version = ifactory_object_get_version;
iface->get_groups = ifactory_object_get_groups;
......@@ -325,11 +325,11 @@ ifactory_object_write_done( NAIFactoryObject *instance, const NAIFactoryProvider
}
static void
icontext_iface_init( NAIContextInterface *iface )
icontext_iface_init( NAIContextInterface *iface, void *user_data )
{
static const gchar *thisfn = "na_object_menu_icontext_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->is_candidate = icontext_is_candidate;
}
......
......@@ -80,13 +80,13 @@ static void instance_finalize( GObject *object );
static void object_dump( const NAObject *object );
static gboolean object_is_valid( const NAObject *object );
static void ifactory_object_iface_init( NAIFactoryObjectInterface *iface );
static void ifactory_object_iface_init( NAIFactoryObjectInterface *iface, void *user_data );
static guint ifactory_object_get_version( const NAIFactoryObject *instance );
static NADataGroup *ifactory_object_get_groups( const NAIFactoryObject *instance );
static void ifactory_object_read_done( NAIFactoryObject *instance, const NAIFactoryProvider *reader, void *reader_data, GSList **messages );
static guint ifactory_object_write_done( NAIFactoryObject *instance, const NAIFactoryProvider *writer, void *writer_data, GSList **messages );
static void icontext_iface_init( NAIContextInterface *iface );
static void icontext_iface_init( NAIContextInterface *iface, void *user_data );
static gboolean icontext_is_candidate( NAIContext *object, guint target, GList *selection );
static gboolean convert_pre_v3_parameters( NAObjectProfile *profile );
......@@ -317,11 +317,11 @@ object_is_valid( const NAObject *object )
}
static void
ifactory_object_iface_init( NAIFactoryObjectInterface *iface )
ifactory_object_iface_init( NAIFactoryObjectInterface *iface, void *user_data )
{
static const gchar *thisfn = "na_object_profile_ifactory_object_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_version = ifactory_object_get_version;
iface->get_groups = ifactory_object_get_groups;
......@@ -375,11 +375,11 @@ ifactory_object_write_done( NAIFactoryObject *instance, const NAIFactoryProvider
}
static void
icontext_iface_init( NAIContextInterface *iface )
icontext_iface_init( NAIContextInterface *iface, void *user_data )
{
static const gchar *thisfn = "na_object_profile_icontext_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->is_candidate = icontext_is_candidate;
}
......
......@@ -58,7 +58,7 @@ static void instance_finalize( GObject *object );
static void object_dump( const NAObject *object );
static void iduplicable_iface_init( NAIDuplicableInterface *iface );
static void iduplicable_iface_init( NAIDuplicableInterface *iface, void *user_data );
static void iduplicable_copy( NAIDuplicable *target, const NAIDuplicable *source );
static gboolean iduplicable_are_equal( const NAIDuplicable *a, const NAIDuplicable *b );
static gboolean iduplicable_is_valid( const NAIDuplicable *object );
......@@ -217,11 +217,11 @@ object_dump( const NAObject *object )
}
static void
iduplicable_iface_init( NAIDuplicableInterface *iface )
iduplicable_iface_init( NAIDuplicableInterface *iface, void *user_data )
{
static const gchar *thisfn = "na_object_iduplicable_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->copy = iduplicable_copy;
iface->are_equal = iduplicable_are_equal;
......
......@@ -103,29 +103,29 @@ static const gchar *st_wsp_name = NA_IPREFS_EXPORT_ASSISTANT_WSP;
static BaseAssistantClass *st_parent_class = NULL;
static GType register_type( void );
static void class_init( NactAssistantExportClass *klass );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface );
static GList *ioptions_list_get_formats( const NAIOptionsList *instance, GtkWidget *container );
static void ioptions_list_free_formats( const NAIOptionsList *instance, GtkWidget *container, GList *formats );
static NAIOption *ioptions_list_get_ask_option( const NAIOptionsList *instance, GtkWidget *container );
static void instance_init( GTypeInstance *instance, gpointer klass );
static void instance_constructed( GObject *instance );
static void instance_dispose( GObject *instance );
static void instance_finalize( GObject *instance );
static void on_base_initialize_gtk_toplevel( NactAssistantExport *window, GtkAssistant *toplevel, gpointer user_data );
static void items_tree_view_initialize_gtk( NactAssistantExport *window, GtkAssistant *toplevel );
static void folder_chooser_initialize_gtk( NactAssistantExport *window );
static void format_tree_view_initialize_gtk( NactAssistantExport *window );
static void on_base_initialize_base_window( NactAssistantExport *window, gpointer user_data );
static void on_base_all_widgets_showed( NactAssistantExport *window, gpointer user_data );
static void on_items_tree_view_selection_changed( NactAssistantExport *window, GList *selected_items, gpointer user_data );
static void on_folder_chooser_selection_changed( GtkFileChooser *chooser, NactAssistantExport *window );
static void assistant_prepare( BaseAssistant *window, GtkAssistant *assistant, GtkWidget *page );
static void assist_prepare_confirm( NactAssistantExport *window, GtkAssistant *assistant, GtkWidget *page );
static void assistant_apply( BaseAssistant *window, GtkAssistant *assistant );
static void assist_prepare_exportdone( NactAssistantExport *window, GtkAssistant *assistant, GtkWidget *page );
static void free_results( GList *list );
static GType register_type( void );
static void class_init( NactAssistantExportClass *klass );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data );
static GList *ioptions_list_get_formats( const NAIOptionsList *instance, GtkWidget *container );
static void ioptions_list_free_formats( const NAIOptionsList *instance, GtkWidget *container, GList *formats );
static NAIOption *ioptions_list_get_ask_option( const NAIOptionsList *instance, GtkWidget *container );
static void instance_init( GTypeInstance *instance, gpointer klass );
static void instance_constructed( GObject *instance );
static void instance_dispose( GObject *instance );
static void instance_finalize( GObject *instance );
static void on_base_initialize_gtk_toplevel( NactAssistantExport *window, GtkAssistant *toplevel, gpointer user_data );
static void items_tree_view_initialize_gtk( NactAssistantExport *window, GtkAssistant *toplevel );
static void folder_chooser_initialize_gtk( NactAssistantExport *window );
static void format_tree_view_initialize_gtk( NactAssistantExport *window );
static void on_base_initialize_base_window( NactAssistantExport *window, gpointer user_data );
static void on_base_all_widgets_showed( NactAssistantExport *window, gpointer user_data );
static void on_items_tree_view_selection_changed( NactAssistantExport *window, GList *selected_items, gpointer user_data );
static void on_folder_chooser_selection_changed( GtkFileChooser *chooser, NactAssistantExport *window );
static void assistant_prepare( BaseAssistant *window, GtkAssistant *assistant, GtkWidget *page );
static void assist_prepare_confirm( NactAssistantExport *window, GtkAssistant *assistant, GtkWidget *page );
static void assistant_apply( BaseAssistant *window, GtkAssistant *assistant );
static void assist_prepare_exportdone( NactAssistantExport *window, GtkAssistant *assistant, GtkWidget *page );
static void free_results( GList *list );
GType
nact_assistant_export_get_type( void )
......@@ -196,11 +196,11 @@ class_init( NactAssistantExportClass *klass )
}
static void
ioptions_list_iface_init( NAIOptionsListInterface *iface )
ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_assistant_export_ioptions_list_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_options = ioptions_list_get_formats;
iface->free_options = ioptions_list_free_formats;
......
......@@ -103,7 +103,7 @@ static BaseAssistantClass *st_parent_class = NULL;
static GType register_type( void );
static void class_init( NactAssistantImportClass *klass );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data );
static GList *ioptions_list_get_modes( const NAIOptionsList *instance, GtkWidget *container );
static void ioptions_list_free_modes( const NAIOptionsList *instance, GtkWidget *container, GList *modes );
static NAIOption *ioptions_list_get_ask_option( const NAIOptionsList *instance, GtkWidget *container );
......@@ -199,11 +199,11 @@ class_init( NactAssistantImportClass *klass )
}
static void
ioptions_list_iface_init( NAIOptionsListInterface *iface )
ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_assistant_import_ioptions_list_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_options = ioptions_list_get_modes;
iface->free_options = ioptions_list_free_modes;
......
......@@ -74,7 +74,7 @@ static BaseDialogClass *st_parent_class = NULL;
static GType register_type( void );
static void class_init( NactExportAskClass *klass );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data );
static GList *ioptions_list_get_formats( const NAIOptionsList *instance, GtkWidget *container );
static void ioptions_list_free_formats( const NAIOptionsList *instance, GtkWidget *container, GList *formats );
static void instance_init( GTypeInstance *instance, gpointer klass );
......@@ -150,11 +150,11 @@ class_init( NactExportAskClass *klass )
}
static void
ioptions_list_iface_init( NAIOptionsListInterface *iface )
ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_assistant_export_ioptions_list_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_options = ioptions_list_get_formats;
iface->free_options = ioptions_list_free_formats;
......
......@@ -161,16 +161,16 @@ static gint st_signals[ LAST_SIGNAL ] = { 0 };
static GType register_type( void );
static void class_init( NactMainWindowClass *klass );
static void iaction_tab_iface_init( NactIActionTabInterface *iface );
static void icommand_tab_iface_init( NactICommandTabInterface *iface );
static void ibasenames_tab_iface_init( NactIBasenamesTabInterface *iface );
static void imimetypes_tab_iface_init( NactIMimetypesTabInterface *iface );
static void ifolders_tab_iface_init( NactIFoldersTabInterface *iface );
static void ischemes_tab_iface_init( NactISchemesTabInterface *iface );
static void icapabilities_tab_iface_init( NactICapabilitiesTabInterface *iface );
static void ienvironment_tab_iface_init( NactIEnvironmentTabInterface *iface );
static void iexecution_tab_iface_init( NactIExecutionTabInterface *iface );
static void iproperties_tab_iface_init( NactIPropertiesTabInterface *iface );
static void iaction_tab_iface_init( NactIActionTabInterface *iface, void *user_data );
static void icommand_tab_iface_init( NactICommandTabInterface *iface, void *user_data );
static void ibasenames_tab_iface_init( NactIBasenamesTabInterface *iface, void *user_data );
static void imimetypes_tab_iface_init( NactIMimetypesTabInterface *iface, void *user_data );
static void ifolders_tab_iface_init( NactIFoldersTabInterface *iface, void *user_data );
static void ischemes_tab_iface_init( NactISchemesTabInterface *iface, void *user_data );
static void icapabilities_tab_iface_init( NactICapabilitiesTabInterface *iface, void *user_data );
static void ienvironment_tab_iface_init( NactIEnvironmentTabInterface *iface, void *user_data );
static void iexecution_tab_iface_init( NactIExecutionTabInterface *iface, void *user_data );
static void iproperties_tab_iface_init( NactIPropertiesTabInterface *iface, void *user_data );
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 );
......@@ -454,83 +454,83 @@ class_init( NactMainWindowClass *klass )
}
static void
iaction_tab_iface_init( NactIActionTabInterface *iface )
iaction_tab_iface_init( NactIActionTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_iaction_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
icommand_tab_iface_init( NactICommandTabInterface *iface )
icommand_tab_iface_init( NactICommandTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_icommand_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
ibasenames_tab_iface_init( NactIBasenamesTabInterface *iface )
ibasenames_tab_iface_init( NactIBasenamesTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_ibasenames_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
imimetypes_tab_iface_init( NactIMimetypesTabInterface *iface )
imimetypes_tab_iface_init( NactIMimetypesTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_imimetypes_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
ifolders_tab_iface_init( NactIFoldersTabInterface *iface )
ifolders_tab_iface_init( NactIFoldersTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_ifolders_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
ischemes_tab_iface_init( NactISchemesTabInterface *iface )
ischemes_tab_iface_init( NactISchemesTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_ischemes_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
icapabilities_tab_iface_init( NactICapabilitiesTabInterface *iface )
icapabilities_tab_iface_init( NactICapabilitiesTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_icapabilities_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
ienvironment_tab_iface_init( NactIEnvironmentTabInterface *iface )
ienvironment_tab_iface_init( NactIEnvironmentTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_ienvironment_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
iexecution_tab_iface_init( NactIExecutionTabInterface *iface )
iexecution_tab_iface_init( NactIExecutionTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_iexecution_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
iproperties_tab_iface_init( NactIPropertiesTabInterface *iface )
iproperties_tab_iface_init( NactIPropertiesTabInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_iproperties_tab_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
......
......@@ -128,7 +128,7 @@ static guint st_last_tab = 0;
static GType register_type( void );
static void class_init( NactPreferencesEditorClass *klass );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface );
static void ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data );
static GList *ioptions_list_get_options( const NAIOptionsList *instance, GtkWidget *container );
static void ioptions_list_free_options( const NAIOptionsList *instance, GtkWidget *container, GList *options );
static NAIOption *ioptions_list_get_ask_option( const NAIOptionsList *instance, GtkWidget *container );
......@@ -236,11 +236,11 @@ class_init( NactPreferencesEditorClass *klass )
}
static void
ioptions_list_iface_init( NAIOptionsListInterface *iface )
ioptions_list_iface_init( NAIOptionsListInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_assistant_export_ioptions_list_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->get_options = ioptions_list_get_options;
iface->free_options = ioptions_list_free_options;
......
......@@ -104,8 +104,8 @@ static GtkTreeModelFilterClass *st_parent_class = NULL;
static GType register_type( void );
static void class_init( NactTreeModelClass *klass );
static void imulti_drag_source_init( EggTreeMultiDragSourceIface *iface );
static void idrag_dest_init( GtkTreeDragDestIface *iface );
static void imulti_drag_source_init( EggTreeMultiDragSourceIface *iface, void *user_data );
static void idrag_dest_init( GtkTreeDragDestIface *iface, void *user_data );
static void instance_init( GTypeInstance *instance, gpointer klass );
static void instance_dispose( GObject *model );
static void instance_finalize( GObject *model );
......@@ -203,11 +203,11 @@ class_init( NactTreeModelClass *klass )
}
static void
imulti_drag_source_init( EggTreeMultiDragSourceIface *iface )
imulti_drag_source_init( EggTreeMultiDragSourceIface *iface, void *user_data )
{
static const gchar *thisfn = "nact_tree_model_imulti_drag_source_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->row_draggable = nact_tree_model_dnd_imulti_drag_source_row_draggable;
iface->drag_data_get = nact_tree_model_dnd_imulti_drag_source_drag_data_get;
......@@ -218,11 +218,11 @@ imulti_drag_source_init( EggTreeMultiDragSourceIface *iface )
}
static void
idrag_dest_init( GtkTreeDragDestIface *iface )
idrag_dest_init( GtkTreeDragDestIface *iface, void *user_data )
{
static const gchar *thisfn = "nact_tree_model_idrag_dest_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->drag_data_received = nact_tree_model_dnd_idrag_dest_drag_data_received;
iface->row_drop_possible = nact_tree_model_dnd_idrag_dest_row_drop_possible;
......
......@@ -133,7 +133,7 @@ static GObjectClass *st_parent_class = NULL;
static GType register_type( void );
static void class_init( NactTreeViewClass *klass );
static void tree_ieditable_iface_init( NactTreeIEditableInterface *iface );
static void tree_ieditable_iface_init( NactTreeIEditableInterface *iface, void *user_data );
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 );
......@@ -465,11 +465,11 @@ class_init( NactTreeViewClass *klass )
}
static void
tree_ieditable_iface_init( NactTreeIEditableInterface *iface )
tree_ieditable_iface_init( NactTreeIEditableInterface *iface, void *user_data )
{
static const gchar *thisfn = "nact_main_window_tree_ieditable_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
}
static void
......
......@@ -55,7 +55,7 @@ static void instance_init( GTypeInstance *instance, gpointer klass );
static void instance_dispose( GObject *object );
static void instance_finalize( GObject *object );
static void iface_iface_init( TestIFaceInterface *iface );
static void iface_iface_init( TestIFaceInterface *iface, void *user_data );
static void iface_fna( TestIFace *object );
static void iface_fnb( TestIFace *object );
......@@ -182,11 +182,11 @@ test_base_new( void )
}
static void
iface_iface_init( TestIFaceInterface *iface )
iface_iface_init( TestIFaceInterface *iface, void *user_data )
{
static const gchar *thisfn = "test_iface_base_iface_iface_init";
g_debug( "%s: iface=%p", thisfn, ( void * ) iface );
g_debug( "%s: iface=%p, user_data=%p", thisfn, ( void * ) iface, ( void * ) user_data );
iface->fna = iface_fna;
iface->fnb = iface_fnb;
......
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