Mercurial > geeqie
diff src/img-view.c @ 3:c0e337a01cb7
0.8.0
author | gqview |
---|---|
date | Thu, 13 Apr 2000 12:55:19 +0000 |
parents | b3e0e515fabf |
children | e149abcda4eb |
line wrap: on
line diff
--- a/src/img-view.c Thu Apr 13 12:53:03 2000 +0000 +++ b/src/img-view.c Thu Apr 13 12:55:19 2000 +0000 @@ -1,6 +1,6 @@ /* * GQview image viewer - * (C)1999 John Ellis + * (C)2000 John Ellis * * Author: John Ellis * @@ -211,6 +211,13 @@ start_editor_from_file(n, image_area_get_path(imd)); } +void view_window_active_to_root(gint n) +{ + ImageWindow *imd = view_window_get_active(); + if (!imd) return; + image_area_to_root(imd, (image_area_get_zoom(imd) == 0)); +} + static void view_zoom_in_cb(GtkWidget *widget, gpointer data) { ImageWindow *imd = view_window_get_active();