summaryrefslogtreecommitdiff
path: root/community/zathura/zathura-poppler-0.16.patch
blob: 79c22bb288518bc90b3cc758283a0179a16098cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
patch that fixes poppler-0.16 compatibility

http://pkgs.fedoraproject.org/gitweb/?p=zathura.git;a=blob;f=zathura-0.0.8.1-poppler-0.15-fix.patch;h=1e586b3cca2be43c7f70c7c2532ea4b2371892e8;hb=master
--- zathura-0.0.8.1/zathura.c.poppler15
+++ zathura-0.0.8.1/zathura.c
@@ -4300,7 +4300,7 @@ cb_view_button_release(GtkWidget* widget
 
   /* get selected text */
   g_static_mutex_lock(&(Zathura.Lock.pdflib_lock));
-  char* selected_text = poppler_page_get_text(
+  char* selected_text = poppler_page_get_selected_text(
       Zathura.PDF.pages[Zathura.PDF.page_number]->page,SELECTION_STYLE,
       &rectangle);