Index: vapi/poppler-glib.vapi =================================================================== --- vapi/poppler-glib.vapi (revision 652) +++ vapi/poppler-glib.vapi (working copy) @@ -1,4 +1,4 @@ -/* poppler-glib.vapi generated by lt-vapigen, do not modify. */ +/* poppler-glib.vapi generated by vapigen, do not modify. */ [CCode (cprefix = "Poppler", lower_case_cprefix = "poppler_")] namespace Poppler { @@ -138,9 +138,9 @@ } [CCode (cprefix = "POPPLER_SELECTION_", cheader_filename = "poppler.h")] public enum SelectionStyle { - NORMAL, + GLYPH, WORD, - PARAGRAPH, + LINE, } [CCode (cprefix = "POPPLER_VIEWER_PREFERENCES_", cheader_filename = "poppler.h")] public enum ViewerPreferences { @@ -230,9 +230,9 @@ public weak GLib.List get_image_mapping (); public int get_index (); public weak GLib.List get_link_mapping (); - public weak Gdk.Region get_selection_region (double scale, Poppler.Rectangle selection); + public weak Gdk.Region get_selection_region (double scale, Poppler.SelectionStyle style, Poppler.Rectangle selection); public void get_size (double width, double height); - public weak string get_text (Poppler.Rectangle rect); + public weak string get_text (Poppler.SelectionStyle style, Poppler.Rectangle rect); public weak Gdk.Pixbuf get_thumbnail (); public bool get_thumbnail_size (int width, int height); public weak Poppler.PageTransition get_transition (); Index: vapi/packages/poppler-glib/poppler-glib.gidl =================================================================== --- vapi/packages/poppler-glib/poppler-glib.gidl (revision 652) +++ vapi/packages/poppler-glib/poppler-glib.gidl (working copy) @@ -7,7 +7,7 @@ --> - + @@ -16,12 +16,12 @@ - + - + @@ -33,11 +33,11 @@ - + - + @@ -51,34 +51,34 @@ - + - + - + - + - + - + @@ -87,7 +87,7 @@ - + @@ -96,15 +96,15 @@ - + - + - + @@ -118,19 +118,19 @@ - + - - + + - + - + @@ -143,30 +143,30 @@ - - - - + + + + - + - + - + - + @@ -179,60 +179,60 @@ - - - + + + - - - - + + + + - + - - + + - + - - + + - + - - + + - - + + @@ -241,38 +241,38 @@ - + - - - - + + + + - - - + + + - - - + + + - + - + @@ -280,137 +280,137 @@ - + - - - + + + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - - + + - - + + - - + + - - + + - + - + - + - + @@ -419,163 +419,165 @@ - + - + - + - + - + - + - + - + - - + + - + - - + + - + - + - + - - + + - + - + - + - + - + - - - + + + + - - - + + + - - + + + - + - - - + + + - + @@ -584,62 +586,62 @@ - - + + - - - - - - - + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - + + + + + + + + - - + + - + - + @@ -647,126 +649,126 @@ - - - - + + + + - - + + - - - + + + - - - + + + - - - - + + + + - - - - - + + + + + - - - - - + + + + + - - - + + + - - - - + + + + - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + @@ -775,35 +777,35 @@ - + - + - + - - - + + + - + - + @@ -813,19 +815,19 @@ - - - + + + - + - + @@ -835,29 +837,29 @@ - + - + - + - + - + @@ -866,35 +868,35 @@ - + - + - + - - - + + + - + - + @@ -904,24 +906,24 @@ - - - - - - - - + + + + + + + + - + - + @@ -931,21 +933,21 @@ - - - - - + + + + + - + - +