Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-utils.h
diff options
context:
space:
mode:
authorJohannes Buchner <buchner.johannes@gmx.at>2007-07-27 05:41:22 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-07-27 05:41:22 (GMT)
commit06e8fe2d26f02fd17a4dc19ea10d7ee00dc33243 (patch)
tree67f713b130459a3805e2535bfd3a761b501cad55 /shell/ev-utils.h
parent0316bea7b62a35a692afad8cef9ecfb4a1d6a4f5 (diff)
Reorganizes utility functions.
2007-07-27 Johannes Buchner <buchner.johannes@gmx.at> * 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
Diffstat (limited to 'shell/ev-utils.h')
-rw-r--r--shell/ev-utils.h13
1 files changed, 8 insertions, 5 deletions
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