Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e6c37fde
Kaydet (Commit)
e6c37fde
authored
Haz 12, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix RHEL5 build
Change-Id: I9a71ee85d2d28aed5bd3f4d1f6e91261a9228d04
üst
e6a19560
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
gtktiledviewer.cxx
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
+2
-0
No files found.
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx
Dosyayı görüntüle @
e6c37fde
...
@@ -135,6 +135,7 @@ static void toggleFindbar(GtkWidget* /*pButton*/, gpointer /*pItem*/)
...
@@ -135,6 +135,7 @@ static void toggleFindbar(GtkWidget* /*pButton*/, gpointer /*pItem*/)
/// Get the visible area of the scrolled window
/// Get the visible area of the scrolled window
static
void
getVisibleAreaTwips
(
GdkRectangle
*
pArea
)
static
void
getVisibleAreaTwips
(
GdkRectangle
*
pArea
)
{
{
#if GTK_CHECK_VERSION(2,14,0) // we need gtk_adjustment_get_page_size()
GtkAdjustment
*
pHAdjustment
=
gtk_scrolled_window_get_hadjustment
(
GTK_SCROLLED_WINDOW
(
pScrolledWindow
));
GtkAdjustment
*
pHAdjustment
=
gtk_scrolled_window_get_hadjustment
(
GTK_SCROLLED_WINDOW
(
pScrolledWindow
));
GtkAdjustment
*
pVAdjustment
=
gtk_scrolled_window_get_vadjustment
(
GTK_SCROLLED_WINDOW
(
pScrolledWindow
));
GtkAdjustment
*
pVAdjustment
=
gtk_scrolled_window_get_vadjustment
(
GTK_SCROLLED_WINDOW
(
pScrolledWindow
));
...
@@ -146,6 +147,7 @@ static void getVisibleAreaTwips(GdkRectangle* pArea)
...
@@ -146,6 +147,7 @@ static void getVisibleAreaTwips(GdkRectangle* pArea)
gtk_adjustment_get_page_size
(
pHAdjustment
));
gtk_adjustment_get_page_size
(
pHAdjustment
));
pArea
->
height
=
lok_doc_view_pixel_to_twip
(
LOK_DOC_VIEW
(
pDocView
),
pArea
->
height
=
lok_doc_view_pixel_to_twip
(
LOK_DOC_VIEW
(
pDocView
),
gtk_adjustment_get_page_size
(
pVAdjustment
));
gtk_adjustment_get_page_size
(
pVAdjustment
));
#endif
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment