X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-utils.h;h=81acc4630d8ee3675af35cc228e6edc3ab755419;hb=a90e38bd4aab8013c402e55753275f5b3408e103;hp=1d7e882f5fec2e59e248297ff11fb2ce111370fc;hpb=f2511820a5499da40ae972bc833616a176d78f8f;p=evince.git diff --git a/shell/ev-utils.h b/shell/ev-utils.h index 1d7e882f..81acc463 100644 --- a/shell/ev-utils.h +++ b/shell/ev-utils.h @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ @@ -23,23 +23,24 @@ #include #include -#ifdef WITH_GNOME_PRINT -#include -#endif G_BEGIN_DECLS GdkPixbuf* ev_pixbuf_add_shadow (GdkPixbuf *src, int size, int x_offset, int y_offset, double opacity); -void ev_print_region_contents (GdkRegion *region); +void ev_print_region_contents (cairo_region_t *region); -#ifdef WITH_GNOME_PRINT -GnomePrintConfig* load_print_config_from_file (void); -void save_print_config_to_file (GnomePrintConfig *config); -gboolean using_postscript_printer (GnomePrintConfig *config); -gboolean using_pdf_printer (GnomePrintConfig *config); -#endif +void ev_gui_menu_position_tree_selection (GtkMenu *menu, + gint *x, + gint *y, + gboolean *push_in, + gpointer user_data); + +gint get_num_monitors (GtkWindow * window); + +void file_chooser_dialog_add_writable_pixbuf_formats (GtkFileChooser *chooser); +GdkPixbufFormat* get_gdk_pixbuf_format_by_extension (gchar *uri); G_END_DECLS