From 55d50b3cca2f9d2dcb85788645fd2eb55ee774c5 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Thu, 14 Jul 2011 00:11:08 +0100 Subject: GtkFontChooser: Fix scroll callback connected to treeview instead of preview --- gtk/gtkfontchooser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkfontchooser.c') diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c index 13ef6bfbcc..4291d2fbd2 100644 --- a/gtk/gtkfontchooser.c +++ b/gtk/gtkfontchooser.c @@ -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); -- cgit v1.2.1