GtkFontChooser: Fix scroll callback connected to treeview instead of preview

This commit is contained in:
Alberto Ruiz 2011-07-14 00:11:08 +01:00 committed by Matthias Clasen
parent 9dee34ad27
commit 55d50b3cca

View File

@ -623,8 +623,8 @@ gtk_font_chooser_init (GtkFontChooser *fontchooser)
G_CALLBACK (cursor_changed_cb), fontchooser);
/* Zoom on preview scroll*/
g_signal_connect (G_OBJECT (scrolled_win), "scroll-event",
G_CALLBACK (zoom_preview_cb), priv);
g_signal_connect (G_OBJECT (priv->preview), "scroll-event",
G_CALLBACK (zoom_preview_cb), priv);
g_signal_connect (G_OBJECT (priv->size_slider), "scroll-event",
G_CALLBACK (zoom_preview_cb), priv);