static gboolean on_zoom_minus_plus_not_implemented (ModestWindow *window);
+static void set_zoom_do_nothing (ModestWindow *window, gdouble zoom);
+
+static gdouble get_zoom_do_nothing (ModestWindow *window);
+
static void init_window (ModestMsgEditWindow *obj);
static void DEBUG_BUFFER (WPTextBuffer *buffer)
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = modest_msg_edit_window_finalize;
+ modest_window_class->set_zoom_func = set_zoom_do_nothing;
+ modest_window_class->get_zoom_func = get_zoom_do_nothing;
modest_window_class->zoom_plus_func = on_zoom_minus_plus_not_implemented;
modest_window_class->zoom_minus_func = on_zoom_minus_plus_not_implemented;
modest_window_class->show_toolbar_func = modest_msg_edit_window_show_toolbar;
return FALSE;
}
+
+static void
+set_zoom_do_nothing (ModestWindow *window,
+ gdouble zoom)
+{
+}
+
+static gdouble
+get_zoom_do_nothing (ModestWindow *window)
+{
+ return 1.0;
+}
+