From 06e8fe2d26f02fd17a4dc19ea10d7ee00dc33243 Mon Sep 17 00:00:00 2001 From: Johannes Buchner Date: Fri, 27 Jul 2007 05:41:22 +0000 Subject: Reorganizes utility functions. 2007-07-27 Johannes Buchner * shell/ev-utils.c: (get_num_monitors), (get_screen_dpi): * shell/ev-utils.h: * shell/ev-view.c: (ev_view_set_zoom_for_size), (ev_view_update_view_size): * shell/ev-view.h: * shell/ev-window.c: (ev_window_update_actions), (setup_view_from_metadata), (ev_window_screen_changed), (ev_window_sizing_mode_changed_cb), (ev_window_zoom_changed_cb), (zoom_control_changed_cb): * shell/ev-window.h: Reorganizes utility functions. svn path=/trunk/; revision=2582 --- (limited to 'shell/ev-utils.h') diff --git a/shell/ev-utils.h b/shell/ev-utils.h index 5afb5a6..705beaa 100644 --- a/shell/ev-utils.h +++ b/shell/ev-utils.h @@ -34,11 +34,11 @@ GdkPixbuf* ev_pixbuf_add_shadow (GdkPixbuf *src, int size, void ev_print_region_contents (GdkRegion *region); -void ev_gui_menu_position_tree_selection (GtkMenu *menu, - gint *x, - gint *y, - gboolean *push_in, - gpointer user_data); +void ev_gui_menu_position_tree_selection (GtkMenu *menu, + gint *x, + gint *y, + gboolean *push_in, + gpointer user_data); #ifdef WITH_GNOME_PRINT GnomePrintConfig* load_print_config_from_file (void); @@ -46,6 +46,9 @@ void save_print_config_to_file (GnomePrintConfig *config); gboolean using_postscript_printer (GnomePrintConfig *config); gboolean using_pdf_printer (GnomePrintConfig *config); #endif +gint get_num_monitors (GtkWindow * window); + +gdouble get_screen_dpi (GtkWindow * window); G_END_DECLS -- cgit v0.9.1