| 273 | */ |
| 274 | |
| 275 | static void |
| 276 | ghack_map_window_zoom(GtkAdjustment *adj, gpointer data) |
| 277 | { |
| 278 | if (adj->value > 3.0) |
| 279 | adj->value = 3.0; |
| 280 | if (adj->value < 0.5) |
| 281 | adj->value = 0.5; |
| 282 | ghack_map.zoom = adj->value; |
| 283 | gnome_canvas_set_pixels_per_unit(data, adj->value); |
| 284 | } |
| 285 | |
| 286 | void |
| 287 | ghack_map_cursor_to(GtkWidget *win, int x, int y, gpointer data) |
nothing calls this directly
no outgoing calls
no test coverage detected