summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/eggfindbar.c2
-rw-r--r--shell/ev-annotation-properties-dialog.c3
-rw-r--r--shell/ev-password-view.c2
-rw-r--r--shell/ev-sidebar-links.c2
-rw-r--r--shell/ev-window.c2
5 files changed, 1 insertions, 10 deletions
diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c
index e68cc844..561b6d85 100644
--- a/shell/eggfindbar.c
+++ b/shell/eggfindbar.c
@@ -631,7 +631,7 @@ egg_find_bar_set_case_sensitive (EggFindBar *find_bar,
{
priv->case_sensitive = case_sensitive;
- gtk_toggle_tool_button_set_active (priv->case_button,
+ gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (priv->case_button),
priv->case_sensitive);
g_object_notify (G_OBJECT (find_bar),
diff --git a/shell/ev-annotation-properties-dialog.c b/shell/ev-annotation-properties-dialog.c
index 81c1fd95..932a26ff 100644
--- a/shell/ev-annotation-properties-dialog.c
+++ b/shell/ev-annotation-properties-dialog.c
@@ -86,12 +86,9 @@ static void
ev_annotation_properties_dialog_constructed (GObject *object)
{
EvAnnotationPropertiesDialog *dialog = EV_ANNOTATION_PROPERTIES_DIALOG (object);
- GtkWidget *contant_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
GtkWidget *table = dialog->table;
GtkWidget *label;
- contant_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog));
-
switch (dialog->annot_type) {
case EV_ANNOTATION_TYPE_TEXT:
label = gtk_label_new (_("Icon:"));
diff --git a/shell/ev-password-view.c b/shell/ev-password-view.c
index 4b81ed2b..57e4f642 100644
--- a/shell/ev-password-view.c
+++ b/shell/ev-password-view.c
@@ -77,10 +77,8 @@ static void
ev_password_view_class_init (EvPasswordViewClass *class)
{
GObjectClass *g_object_class;
- GtkWidgetClass *widget_class;
g_object_class = G_OBJECT_CLASS (class);
- widget_class = GTK_WIDGET_CLASS (class);
password_view_signals[UNLOCK] =
g_signal_new ("unlock",
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
index 5d8087a1..ab798a1b 100644
--- a/shell/ev-sidebar-links.c
+++ b/shell/ev-sidebar-links.c
@@ -217,11 +217,9 @@ static void
selection_changed_callback (GtkTreeSelection *selection,
EvSidebarLinks *ev_sidebar_links)
{
- EvDocument *document;
GtkTreeModel *model;
GtkTreeIter iter;
- document = EV_DOCUMENT (ev_sidebar_links->priv->document);
g_return_if_fail (ev_sidebar_links->priv->document != NULL);
if (gtk_tree_selection_get_selected (selection, &model, &iter)) {
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 3da9df77..257a6acb 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2456,11 +2456,9 @@ static void
ev_window_reload_document (EvWindow *ev_window,
EvLinkDest *dest)
{
- gint page;
ev_window_clear_reload_job (ev_window);
ev_window->priv->in_reload = TRUE;
- page = ev_document_model_get_page (ev_window->priv->model);
if (ev_window->priv->dest)
g_object_unref (ev_window->priv->dest);
ev_window->priv->dest = dest ? g_object_ref (dest) : NULL;