diff options
Diffstat (limited to 'libreofficekit/source/gtk/lokdocview.cxx')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index f1375dd376da..c78d008469fc 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -759,6 +759,7 @@ static gboolean postDocumentLoad(gpointer pData) nDocumentHeightPixels); gtk_widget_set_can_focus(GTK_WIDGET(pLOKDocView), TRUE); gtk_widget_grab_focus(GTK_WIDGET(pLOKDocView)); + lok_doc_view_set_zoom(pLOKDocView, 1.0); return G_SOURCE_REMOVE; } @@ -2142,7 +2143,6 @@ static void lok_doc_view_class_init (LOKDocViewClass* pClass) "The current zoom level of the content", 0, 5.0, 1.0, static_cast<GParamFlags>(G_PARAM_READWRITE | - G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS))); /** |