aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/menus')
-rw-r--r--widgets/menus/gal-define-views-dialog.h1
-rw-r--r--widgets/menus/gal-define-views-model.h2
-rw-r--r--widgets/menus/gal-view-collection.c1
-rw-r--r--widgets/menus/gal-view-collection.h3
-rw-r--r--widgets/menus/gal-view-etable.h1
-rw-r--r--widgets/menus/gal-view-factory.h1
-rw-r--r--widgets/menus/gal-view-instance-save-as-dialog.c2
-rw-r--r--widgets/menus/gal-view-instance-save-as-dialog.h1
-rw-r--r--widgets/menus/gal-view-instance.c1
-rw-r--r--widgets/menus/gal-view-instance.h1
-rw-r--r--widgets/menus/gal-view-menus.c3
-rw-r--r--widgets/menus/gal-view-new-dialog.c1
-rw-r--r--widgets/menus/gal-view-new-dialog.h1
-rw-r--r--widgets/menus/gal-view.c1
-rw-r--r--widgets/menus/gal-view.h1
15 files changed, 0 insertions, 21 deletions
diff --git a/widgets/menus/gal-define-views-dialog.h b/widgets/menus/gal-define-views-dialog.h
index ab499d45d5..a510679567 100644
--- a/widgets/menus/gal-define-views-dialog.h
+++ b/widgets/menus/gal-define-views-dialog.h
@@ -69,5 +69,4 @@ GType gal_define_views_dialog_get_type (void);
G_END_DECLS
-
#endif /* __GAL_DEFINE_VIEWS_DIALOG_H__ */
diff --git a/widgets/menus/gal-define-views-model.h b/widgets/menus/gal-define-views-model.h
index c408fea067..cc7b7a5aa4 100644
--- a/widgets/menus/gal-define-views-model.h
+++ b/widgets/menus/gal-define-views-model.h
@@ -45,12 +45,10 @@ typedef struct {
guint editable : 1;
} GalDefineViewsModel;
-
typedef struct {
ETableModelClass parent_class;
} GalDefineViewsModelClass;
-
GType gal_define_views_model_get_type (void);
ETableModel *gal_define_views_model_new (void);
diff --git a/widgets/menus/gal-view-collection.c b/widgets/menus/gal-view-collection.c
index 958759326a..801a941ba4 100644
--- a/widgets/menus/gal-view-collection.c
+++ b/widgets/menus/gal-view-collection.c
@@ -636,7 +636,6 @@ gal_view_collection_get_view_id_by_index (GalViewCollection *collection, gint n)
return g_strdup (collection->view_data[n]->id);
}
-
void
gal_view_collection_append (GalViewCollection *collection,
GalView *view)
diff --git a/widgets/menus/gal-view-collection.h b/widgets/menus/gal-view-collection.h
index d443aa9bc2..5667b3d7c9 100644
--- a/widgets/menus/gal-view-collection.h
+++ b/widgets/menus/gal-view-collection.h
@@ -100,7 +100,6 @@ void gal_view_collection_add_factory (GalViewColl
void gal_view_collection_display_view (GalViewCollection *collection,
GalView *view);
-
/* Query the view collection. */
gint gal_view_collection_get_count (GalViewCollection *collection);
GalView *gal_view_collection_get_view (GalViewCollection *collection,
@@ -143,8 +142,6 @@ const gchar *gal_view_collection_get_default_view (GalViewCol
void gal_view_collection_set_default_view (GalViewCollection *collection,
const gchar *id);
-
G_END_DECLS
-
#endif /* _GAL_VIEW_COLLECTION_H_ */
diff --git a/widgets/menus/gal-view-etable.h b/widgets/menus/gal-view-etable.h
index 201c1573ef..0cbebba699 100644
--- a/widgets/menus/gal-view-etable.h
+++ b/widgets/menus/gal-view-etable.h
@@ -72,7 +72,6 @@ void gal_view_etable_attach_tree (GalViewEtable *view,
ETree *tree);
void gal_view_etable_detach (GalViewEtable *view);
-
G_END_DECLS
#endif /* _GAL_VIEW_ETABLE_H_ */
diff --git a/widgets/menus/gal-view-factory.h b/widgets/menus/gal-view-factory.h
index 41b7564de0..f8743999cf 100644
--- a/widgets/menus/gal-view-factory.h
+++ b/widgets/menus/gal-view-factory.h
@@ -71,5 +71,4 @@ GalView *gal_view_factory_new_view (GalViewFactory *factory,
G_END_DECLS
-
#endif /* _GAL_VIEW_FACTORY_H_ */
diff --git a/widgets/menus/gal-view-instance-save-as-dialog.c b/widgets/menus/gal-view-instance-save-as-dialog.c
index 610c03a663..76871594e2 100644
--- a/widgets/menus/gal-view-instance-save-as-dialog.c
+++ b/widgets/menus/gal-view-instance-save-as-dialog.c
@@ -108,7 +108,6 @@ gvisad_setup_validate_button (GalViewInstanceSaveAsDialog *dialog)
}
}
-
static void
gvisad_setup_radio_buttons (GalViewInstanceSaveAsDialog *dialog)
{
@@ -155,7 +154,6 @@ gvisad_entry_changed (GtkWidget *widget, GalViewInstanceSaveAsDialog *dialog)
gvisad_setup_validate_button (dialog);
}
-
/* Method override implementations */
static void
gal_view_instance_save_as_dialog_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
diff --git a/widgets/menus/gal-view-instance-save-as-dialog.h b/widgets/menus/gal-view-instance-save-as-dialog.h
index 600aa6765a..64e97afde8 100644
--- a/widgets/menus/gal-view-instance-save-as-dialog.h
+++ b/widgets/menus/gal-view-instance-save-as-dialog.h
@@ -82,5 +82,4 @@ void gal_view_instance_save_as_dialog_save (GalViewInstanceSaveAsDial
G_END_DECLS
-
#endif /* __GAL_VIEW_INSTANCE_SAVE_AS_DIALOG_H__ */
diff --git a/widgets/menus/gal-view-instance.c b/widgets/menus/gal-view-instance.c
index 6ed7f9a604..b539965abc 100644
--- a/widgets/menus/gal-view-instance.c
+++ b/widgets/menus/gal-view-instance.c
@@ -49,7 +49,6 @@ G_DEFINE_TYPE (GalViewInstance, gal_view_instance, G_TYPE_OBJECT)
static const EPopupMenu separator = E_POPUP_SEPARATOR;
static const EPopupMenu terminator = E_POPUP_TERMINATOR;
-
#define d(x)
enum {
diff --git a/widgets/menus/gal-view-instance.h b/widgets/menus/gal-view-instance.h
index a7ce2778c9..65aea4b0fd 100644
--- a/widgets/menus/gal-view-instance.h
+++ b/widgets/menus/gal-view-instance.h
@@ -91,7 +91,6 @@ GalView *gal_view_instance_get_current_view (GalViewInstance *inst
void gal_view_instance_set_custom_view (GalViewInstance *instance,
GalView *view);
-
/* Returns true if this instance has ever been used before. */
gboolean gal_view_instance_exists (GalViewInstance *instance);
diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c
index c1b75aee4b..de51da49c1 100644
--- a/widgets/menus/gal-view-menus.c
+++ b/widgets/menus/gal-view-menus.c
@@ -305,7 +305,6 @@ build_menus(GalViewMenus *menus)
id = gal_view_instance_get_current_view_id (instance);
-
length = gal_view_collection_get_count(collection);
menus->priv->listenerClosures = e_list_new (closure_copy, closure_free, menus);
@@ -357,7 +356,6 @@ build_menus(GalViewMenus *menus)
bonobo_ui_node_set_attr(menuitem, "name", "GalView:first_sep");
bonobo_ui_node_set_attr(menuitem, "f", "");
-
menuitem = bonobo_ui_node_new_child(submenu, "menuitem");
bonobo_ui_node_set_attr(menuitem, "name", "custom_view");
bonobo_ui_node_set_attr(menuitem, "id", "custom_view");
@@ -371,7 +369,6 @@ build_menus(GalViewMenus *menus)
bonobo_ui_node_set_attr(command, "group", "GalViewMenus");
bonobo_ui_node_set_attr(command, "_tip", N_("Current view is a customized view"));
-
menuitem = bonobo_ui_node_new_child(submenu, "menuitem");
bonobo_ui_node_set_attr(menuitem, "name", "SaveCurrentView");
bonobo_ui_node_set_attr(menuitem, "_label", N_("Save Custom View..."));
diff --git a/widgets/menus/gal-view-new-dialog.c b/widgets/menus/gal-view-new-dialog.c
index ab819a484c..7fc263d9bd 100644
--- a/widgets/menus/gal-view-new-dialog.c
+++ b/widgets/menus/gal-view-new-dialog.c
@@ -254,7 +254,6 @@ gal_view_new_dialog_set_property (GObject *object, guint prop_id, const GValue *
}
}
-
static void
gal_view_new_dialog_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
{
diff --git a/widgets/menus/gal-view-new-dialog.h b/widgets/menus/gal-view-new-dialog.h
index 06bcb96bb9..364e1ae472 100644
--- a/widgets/menus/gal-view-new-dialog.h
+++ b/widgets/menus/gal-view-new-dialog.h
@@ -75,5 +75,4 @@ GtkWidget *gal_view_new_dialog_construct (GalViewNewDialog *dialog,
G_END_DECLS
-
#endif /* __GAL_VIEW_NEW_DIALOG_H__ */
diff --git a/widgets/menus/gal-view.c b/widgets/menus/gal-view.c
index 7b52d74864..b410d8ec42 100644
--- a/widgets/menus/gal-view.c
+++ b/widgets/menus/gal-view.c
@@ -33,7 +33,6 @@ G_DEFINE_TYPE (GalView, gal_view, G_TYPE_OBJECT)
d(static gint depth = 0;)
-
enum {
CHANGED,
LAST_SIGNAL
diff --git a/widgets/menus/gal-view.h b/widgets/menus/gal-view.h
index 8973733a3b..099a92704c 100644
--- a/widgets/menus/gal-view.h
+++ b/widgets/menus/gal-view.h
@@ -88,7 +88,6 @@ GalView *gal_view_clone (GalView *view);
/* Changed signal */
void gal_view_changed (GalView *view);
-
G_END_DECLS
#endif /* _GAL_VIEW_H_ */