[Commits] fancy_viewer.c 1.1.2.49 1.1.2.50

iwkse at claws-mail.org iwkse at claws-mail.org
Tue Nov 1 15:03:11 CET 2011


Update of /home/claws-mail/plugins/fancy/src
In directory claws-mail:/tmp/cvs-serv19521/src

Modified Files:
      Tag: gtk2
	fancy_viewer.c 
Log Message:
2011-11-01 [iwkse]	0.9.14cvs2

	* src/fancy_viewer.c
		Fix GTK+ 3 build, GtkAdjustment is an opaque object
		Thanks to mihai

Index: fancy_viewer.c
===================================================================
RCS file: /home/claws-mail/plugins/fancy/src/Attic/fancy_viewer.c,v
retrieving revision 1.1.2.49
retrieving revision 1.1.2.50
diff -u -d -r1.1.2.49 -r1.1.2.50
--- fancy_viewer.c	29 Sep 2011 23:24:35 -0000	1.1.2.49
+++ fancy_viewer.c	1 Nov 2011 14:03:09 -0000	1.1.2.50
@@ -333,7 +333,7 @@
 	fancy_prefs.zoom_level = webkit_web_view_get_zoom_level(viewer->view) * 100;
 	viewer->to_load = NULL;
 	vadj = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(viewer->scrollwin));
-	vadj->value = 0.0;
+	gtk_adjustment_set_value(vadj, 0.0);
 	g_signal_emit_by_name(G_OBJECT(vadj), "value-changed", 0);
 }
 



More information about the Commits mailing list