diff options
-rw-r--r-- | cut-n-paste/zoom-control/ephy-zoom-control.c | 2 | ||||
-rw-r--r-- | shell/ev-window.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/cut-n-paste/zoom-control/ephy-zoom-control.c b/cut-n-paste/zoom-control/ephy-zoom-control.c index dc8ea3b6..c1364f32 100644 --- a/cut-n-paste/zoom-control/ephy-zoom-control.c +++ b/cut-n-paste/zoom-control/ephy-zoom-control.c @@ -271,10 +271,8 @@ static void ephy_zoom_control_class_init (EphyZoomControlClass *klass) { GObjectClass *object_class; - GtkToolItemClass *tool_item_class; object_class = (GObjectClass *)klass; - tool_item_class = (GtkToolItemClass *)klass; object_class->set_property = ephy_zoom_control_set_property; object_class->get_property = ephy_zoom_control_get_property; diff --git a/shell/ev-window.c b/shell/ev-window.c index 15d81b4c..724491ca 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -1387,7 +1387,7 @@ monitor_get_dimesions (EvWindow *ev_window, static void setup_document_from_metadata (EvWindow *window) { - gint page, n_pages; + gint n_pages; gint width; gint height; gdouble width_ratio; @@ -1402,7 +1402,6 @@ setup_document_from_metadata (EvWindow *window) * since closing it on the last page most likely means the * user was finished reading the document. In that case, reopening should * show the first page. */ - page = ev_document_model_get_page (window->priv->model); n_pages = ev_document_get_n_pages (window->priv->document); if (ev_metadata_get_int (window->priv->metadata, "window_width", &width) && |