summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/eggfindbar.c1
-rw-r--r--shell/eggfindbar.h1
-rw-r--r--shell/ev-application.c2
-rw-r--r--shell/ev-bookmarks.h2
-rw-r--r--shell/ev-daemon.c1
-rw-r--r--shell/ev-history.c1
-rw-r--r--shell/ev-loading-message.c1
-rw-r--r--shell/ev-media-player-keys.h1
-rw-r--r--shell/ev-navigation-action.c1
-rw-r--r--shell/ev-open-recent-action.c1
-rw-r--r--shell/ev-password-view.c2
-rw-r--r--shell/ev-sidebar-attachments.c1
-rw-r--r--shell/ev-sidebar-bookmarks.c1
-rw-r--r--shell/ev-sidebar-layers.c1
-rw-r--r--shell/ev-sidebar-links.c3
-rw-r--r--shell/ev-sidebar-links.h1
-rw-r--r--shell/ev-sidebar-page.c1
-rw-r--r--shell/ev-sidebar-page.h1
-rw-r--r--shell/ev-sidebar-thumbnails.c1
-rw-r--r--shell/ev-sidebar-thumbnails.h1
-rw-r--r--shell/ev-sidebar.c1
-rw-r--r--shell/ev-sidebar.h1
-rw-r--r--shell/ev-window.c9
-rw-r--r--shell/ev-window.h2
-rw-r--r--shell/main.c4
25 files changed, 0 insertions, 42 deletions
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c
index 438c5dc7..13d7feb8 100644
--- a/shell/eggfindbar.c
+++ b/shell/eggfindbar.c
@@ -573,7 +573,6 @@ egg_find_bar_set_search_string (EggFindBar *find_bar,
g_object_thaw_notify (G_OBJECT (find_bar));
}
-
/**
* egg_find_bar_get_search_string:
*
diff --git a/shell/eggfindbar.h b/shell/eggfindbar.h
index df7157e1..5f41cc17 100644
--- a/shell/eggfindbar.h
+++ b/shell/eggfindbar.h
@@ -77,4 +77,3 @@ G_END_DECLS
#endif /* __EGG_FIND_BAR_H__ */
-
diff --git a/shell/ev-application.c b/shell/ev-application.c
index 8cff194f..56279aca 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -21,7 +21,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
#include <config.h>
#include <stdlib.h>
#include <string.h>
@@ -311,7 +310,6 @@ ev_application_get_empty_window (EvApplication *application,
return empty_window;
}
-
#ifdef ENABLE_DBUS
typedef struct {
gchar *uri;
diff --git a/shell/ev-bookmarks.h b/shell/ev-bookmarks.h
index d15ebad9..ac6ef524 100644
--- a/shell/ev-bookmarks.h
+++ b/shell/ev-bookmarks.h
@@ -50,8 +50,6 @@ void ev_bookmarks_delete (EvBookmarks *bookmarks,
void ev_bookmarks_update (EvBookmarks *bookmarks,
EvBookmark *bookmark);
-
-
G_END_DECLS
#endif /* EV_BOOKMARKS_H */
diff --git a/shell/ev-daemon.c b/shell/ev-daemon.c
index a45adefb..bf552f5d 100644
--- a/shell/ev-daemon.c
+++ b/shell/ev-daemon.c
@@ -43,7 +43,6 @@
#define LOG g_debug
-
#define EV_TYPE_DAEMON_APPLICATION (ev_daemon_application_get_type ())
#define EV_DAEMON_APPLICATION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), EV_TYPE_DAEMON_APPLICATION, EvDaemonApplication))
diff --git a/shell/ev-history.c b/shell/ev-history.c
index 940c66f9..7fc3c824 100644
--- a/shell/ev-history.c
+++ b/shell/ev-history.c
@@ -24,7 +24,6 @@
#include "ev-history.h"
-
enum
{
HISTORY_CHANGED,
diff --git a/shell/ev-loading-message.c b/shell/ev-loading-message.c
index aa7014e5..530f4e73 100644
--- a/shell/ev-loading-message.c
+++ b/shell/ev-loading-message.c
@@ -174,4 +174,3 @@ ev_loading_message_new (void)
return message;
}
-
diff --git a/shell/ev-media-player-keys.h b/shell/ev-media-player-keys.h
index f18f192a..fb69aa47 100644
--- a/shell/ev-media-player-keys.h
+++ b/shell/ev-media-player-keys.h
@@ -37,7 +37,6 @@ G_BEGIN_DECLS
typedef struct _EvMediaPlayerKeys EvMediaPlayerKeys;
typedef struct _EvMediaPlayerKeysClass EvMediaPlayerKeysClass;
-
GType ev_media_player_keys_get_type (void) G_GNUC_CONST;
EvMediaPlayerKeys *ev_media_player_keys_new (void);
diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c
index 57b4c463..e3ba10a2 100644
--- a/shell/ev-navigation-action.c
+++ b/shell/ev-navigation-action.c
@@ -26,7 +26,6 @@
#include "ev-navigation-action.h"
#include "ev-navigation-action-widget.h"
-
enum
{
WIDGET_ACTIVATE_LINK,
diff --git a/shell/ev-open-recent-action.c b/shell/ev-open-recent-action.c
index 0c1a21dc..3186f261 100644
--- a/shell/ev-open-recent-action.c
+++ b/shell/ev-open-recent-action.c
@@ -24,7 +24,6 @@
#include "ev-open-recent-action.h"
-
enum {
ITEM_ACTIVATED,
N_SIGNALS
diff --git a/shell/ev-password-view.c b/shell/ev-password-view.c
index e720a7f5..601a5e5e 100644
--- a/shell/ev-password-view.c
+++ b/shell/ev-password-view.c
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -47,7 +46,6 @@ struct _EvPasswordViewPrivate {
static guint password_view_signals [LAST_SIGNAL] = { 0 };
-
G_DEFINE_TYPE_WITH_PRIVATE (EvPasswordView, ev_password_view, GTK_TYPE_VIEWPORT)
static void
diff --git a/shell/ev-sidebar-attachments.c b/shell/ev-sidebar-attachments.c
index 81aee149..007322f4 100644
--- a/shell/ev-sidebar-attachments.c
+++ b/shell/ev-sidebar-attachments.c
@@ -631,7 +631,6 @@ job_finished_callback (EvJobAttachments *job,
g_object_unref (job);
}
-
static void
ev_sidebar_attachments_document_changed_cb (EvDocumentModel *model,
GParamSpec *pspec,
diff --git a/shell/ev-sidebar-bookmarks.c b/shell/ev-sidebar-bookmarks.c
index 2abdd695..214ca61a 100644
--- a/shell/ev-sidebar-bookmarks.c
+++ b/shell/ev-sidebar-bookmarks.c
@@ -122,7 +122,6 @@ ev_bookmarks_popup_cmd_rename_bookmark (GtkAction *action,
GtkTreeModel *model;
GtkTreeIter iter;
-
selection = gtk_tree_view_get_selection (tree_view);
if (gtk_tree_selection_get_selected (selection, &model, &iter)) {
GtkTreePath *path;
diff --git a/shell/ev-sidebar-layers.c b/shell/ev-sidebar-layers.c
index 1326e381..5518f4a9 100644
--- a/shell/ev-sidebar-layers.c
+++ b/shell/ev-sidebar-layers.c
@@ -239,7 +239,6 @@ ev_sidebar_layers_create_tree_view (EvSidebarLayers *ev_layers)
gtk_tree_selection_set_mode (gtk_tree_view_get_selection (tree_view),
GTK_SELECTION_NONE);
-
column = gtk_tree_view_column_new ();
renderer = gtk_cell_renderer_toggle_new ();
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
index 7acbff7c..867408b4 100644
--- a/shell/ev-sidebar-links.c
+++ b/shell/ev-sidebar-links.c
@@ -379,7 +379,6 @@ button_press_cb (GtkWidget *treeview,
return FALSE;
}
-
static void
ev_sidebar_links_construct (EvSidebarLinks *ev_sidebar_links)
{
@@ -425,7 +424,6 @@ ev_sidebar_links_construct (EvSidebarLinks *ev_sidebar_links)
"markup", EV_DOCUMENT_LINKS_COLUMN_MARKUP,
NULL);
-
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_end (GTK_TREE_VIEW_COLUMN (column), renderer, FALSE);
gtk_tree_view_column_set_attributes (GTK_TREE_VIEW_COLUMN (column), renderer,
@@ -566,7 +564,6 @@ expand_open_links (GtkTreeView *tree_view, GtkTreeModel *model, GtkTreeIter *par
}
}
-
static gint
page_link_tree_sort (gconstpointer a, gconstpointer b, void *data)
{
diff --git a/shell/ev-sidebar-links.h b/shell/ev-sidebar-links.h
index eb4ae8ff..d0475dc5 100644
--- a/shell/ev-sidebar-links.h
+++ b/shell/ev-sidebar-links.h
@@ -63,4 +63,3 @@ G_END_DECLS
#endif /* __EV_SIDEBAR_LINKS_H__ */
-
diff --git a/shell/ev-sidebar-page.c b/shell/ev-sidebar-page.c
index 0b216bd8..bd5b85c2 100644
--- a/shell/ev-sidebar-page.c
+++ b/shell/ev-sidebar-page.c
@@ -74,7 +74,6 @@ ev_sidebar_page_get_label (EvSidebarPage *sidebar_page)
return iface->get_label (sidebar_page);
}
-
static void
ev_sidebar_page_default_init (EvSidebarPageInterface *iface)
{
diff --git a/shell/ev-sidebar-page.h b/shell/ev-sidebar-page.h
index 21ef92cf..21791aaa 100644
--- a/shell/ev-sidebar-page.h
+++ b/shell/ev-sidebar-page.h
@@ -58,7 +58,6 @@ void ev_sidebar_page_set_model (EvSidebarPage *sidebar_page,
EvDocumentModel *model);
const gchar* ev_sidebar_page_get_label (EvSidebarPage *page);
-
G_END_DECLS
#endif /* EV_SIDEBAR_PAGE */
diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c
index 05a9049f..11e43267 100644
--- a/shell/ev-sidebar-thumbnails.c
+++ b/shell/ev-sidebar-thumbnails.c
@@ -245,7 +245,6 @@ ev_thumbnails_size_cache_get (EvDocument *document)
return cache;
}
-
static void
ev_sidebar_thumbnails_dispose (GObject *object)
{
diff --git a/shell/ev-sidebar-thumbnails.h b/shell/ev-sidebar-thumbnails.h
index ed10ac39..3a0186cd 100644
--- a/shell/ev-sidebar-thumbnails.h
+++ b/shell/ev-sidebar-thumbnails.h
@@ -56,4 +56,3 @@ G_END_DECLS
#endif /* __EV_SIDEBAR_THUMBNAILS_H__ */
-
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c
index 0cdb6be8..6a82ad9a 100644
--- a/shell/ev-sidebar.c
+++ b/shell/ev-sidebar.c
@@ -446,7 +446,6 @@ ev_sidebar_add_page (EvSidebar *ev_sidebar,
gtk_list_store_move_before(GTK_LIST_STORE(ev_sidebar->priv->page_model),
&iter, NULL);
-
/* Set the first item added as active */
gtk_tree_model_get_iter_first (ev_sidebar->priv->page_model, &iter);
gtk_tree_model_get (ev_sidebar->priv->page_model,
diff --git a/shell/ev-sidebar.h b/shell/ev-sidebar.h
index 11d16632..20a73e3a 100644
--- a/shell/ev-sidebar.h
+++ b/shell/ev-sidebar.h
@@ -64,4 +64,3 @@ G_END_DECLS
#endif /* __EV_SIDEBAR_H__ */
-
diff --git a/shell/ev-window.c b/shell/ev-window.c
index f520ae88..f1fe7616 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -418,7 +418,6 @@ ev_window_set_action_sensitive (EvWindow *ev_window,
G_GNUC_END_IGNORE_DEPRECATIONS;
}
-
static void
ev_window_setup_action_sensitivity (EvWindow *ev_window)
{
@@ -1555,7 +1554,6 @@ ev_window_setup_default (EvWindow *ev_window)
ev_document_model_set_scale (model, g_settings_get_double (settings, "zoom"));
}
-
static void
ev_window_clear_thumbnail_job (EvWindow *ev_window)
{
@@ -3649,7 +3647,6 @@ ev_window_print_operation_done (EvPrintOperation *op,
GtkWidget *dialog;
GError *error = NULL;
-
ev_print_operation_get_error (op, &error);
/* The message area is already used by
@@ -3904,7 +3901,6 @@ ev_window_check_document_modified (EvWindow *ev_window)
return FALSE;
}
-
text = g_markup_printf_escaped (_("Save a copy of document ā€œ%sā€ before closing?"),
gtk_window_get_title (GTK_WINDOW (ev_window)));
@@ -4427,7 +4423,6 @@ ev_window_inhibit_screensaver (EvWindow *window)
_("Running in presentation mode"));
}
-
static void
ev_window_uninhibit_screensaver (EvWindow *window)
{
@@ -4740,7 +4735,6 @@ ev_window_set_page_mode (EvWindow *window,
ev_window_update_actions (window);
}
-
static void
ev_window_cmd_edit_rotate_left (GtkAction *action, EvWindow *ev_window)
{
@@ -5990,7 +5984,6 @@ zoom_control_changed_cb (EphyZoomAction *action,
* the new expanded window size.
*/
-
if (ev_window->priv->chrome & EV_CHROME_SIDEBAR)
{
GtkAllocation alloc;
@@ -6504,7 +6497,6 @@ static const GtkActionEntry entries[] = {
{ "EditSaveSettings", NULL, N_("Save Current Settings as _Default"), "<control>T", NULL,
G_CALLBACK (ev_window_cmd_edit_save_settings) },
-
/* View menu */
{ "ViewZoomIn", "zoom-in", N_("Zoom _In"), "<control>plus",
N_("Enlarge the document"),
@@ -7759,7 +7751,6 @@ ev_window_emit_doc_loaded (EvWindow *window)
ev_atril_window_emit_document_loaded (window->priv->skeleton, window->priv->uri);
}
-
#ifdef ENABLE_SYNCTEX
static gboolean
handle_sync_view_cb (EvAtrilWindow *object,
diff --git a/shell/ev-window.h b/shell/ev-window.h
index 32d303aa..8e4dd9cf 100644
--- a/shell/ev-window.h
+++ b/shell/ev-window.h
@@ -58,7 +58,6 @@ typedef struct _EvWindowPrivate EvWindowPrivate;
#define EV_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_WINDOW))
#define EV_WINDOW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_WINDOW, EvWindowClass))
-
struct _EvWindow {
GtkApplicationWindow base_instance;
EvWindowPrivate *priv;
@@ -87,7 +86,6 @@ void ev_window_print_range (EvWindow *ev_window,
int last_page);
const gchar * ev_window_get_dbus_object_path (EvWindow *ev_window);
-
G_END_DECLS
#endif /* !EV_WINDOW_H */
diff --git a/shell/main.c b/shell/main.c
index 79b92524..57950622 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -36,7 +36,6 @@
#include "eggsmclient.h"
#include "eggdesktopfile.h"
-
static gchar *ev_page_label;
static gchar *ev_find_string;
static gint ev_page_index = 0;
@@ -48,7 +47,6 @@ static gboolean unlink_temp_file = FALSE;
static gchar *print_settings;
static const char **file_arguments = NULL;
-
static gboolean
option_version_cb (const gchar *option_name,
const gchar *value,
@@ -206,8 +204,6 @@ load_files (const char **files)
continue;
}
-
-
ev_application_open_uri_at_dest (EV_APP, uri, screen, dest,
mode, ev_find_string,
GDK_CURRENT_TIME);