Merry Christmas,

Just a trivial patch to clear the page_size parameter to
gtk_adjustment_new[1] and remove the GTK warning that comes when opening
the preferences window.

[1] 
http://library.gnome.org/devel/gtk/unstable/GtkAdjustment.html#GtkAdjustment--page-size

-- 
Einar Ryeng

Index: src/gtk-interface.c
===================================================================
--- src/gtk-interface.c	(revision 2120)
+++ src/gtk-interface.c	(working copy)
@@ -484,7 +484,7 @@
 	histsize_hbox = gtk_hbox_new(FALSE, 0);
 	histsize_label = gtk_label_new(_("Histogram height:"));
 	gtk_misc_set_alignment(GTK_MISC(histsize_label), 0.0, 0.5);
-	histsize_adj = gtk_adjustment_new(histogram_height, 15.0, 500.0, 1.0, 10.0, 10.0);
+	histsize_adj = gtk_adjustment_new(histogram_height, 15.0, 500.0, 1.0, 10.0, 0.0);
 	g_signal_connect(histsize_adj, "value_changed",
 		G_CALLBACK(gui_histogram_height_changed), rs);
 	histsize = gtk_spin_button_new(GTK_ADJUSTMENT(histsize_adj), 1, 0);
_______________________________________________
Rawstudio-dev mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-dev

Reply via email to