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=6935cbce7dce37600abe92eec6344ffde0cc6bae;hp=9875a95bd30a05dc933142fa54ef37ad2d07334c;hpb=5cc8e92ad9fb04792682b474a670aaa803666f78;p=evince.git diff --git a/shell/ev-utils.h b/shell/ev-utils.h index 9875a95b..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. * */ @@ -22,19 +22,25 @@ #define __EV_UTILS_H__ #include +#include G_BEGIN_DECLS -GdkPixbuf *ev_pixbuf_add_shadow (GdkPixbuf *src, int size, - int x_offset, int y_offset, double opacity); +GdkPixbuf* ev_pixbuf_add_shadow (GdkPixbuf *src, int size, + int x_offset, int y_offset, double opacity); -#ifndef HAVE_G_FILE_SET_CONTENTS +void ev_print_region_contents (cairo_region_t *region); -gboolean ev_file_set_contents (const gchar *filename, - const gchar *contents, - gssize length, - GError **error); -#endif /* HAVE_G_FILE_SET_CONTENTS */ +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