ghex r1222 - in trunk: . src
- From: jjongsma svn gnome org
- To: svn-commits-list gnome org
- Subject: ghex r1222 - in trunk: . src
- Date: Tue, 27 Jan 2009 03:46:56 +0000 (UTC)
Author: jjongsma
Date: Tue Jan 27 03:46:56 2009
New Revision: 1222
URL: http://svn.gnome.org/viewvc/ghex?rev=1222&view=rev
Log:
Bug #564371 - ghex2 prints g_warning on startup because it uses a deprecated API
(GtkAdjustment page_size being non-zero. Patch from Martin Olsson <mnemo AT
minimum.se>
Modified:
trunk/ChangeLog
trunk/src/hex-dialog.c
Modified: trunk/src/hex-dialog.c
==============================================================================
--- trunk/src/hex-dialog.c (original)
+++ trunk/src/hex-dialog.c Tue Jan 27 03:46:56 2009
@@ -211,7 +211,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), label, 4, 5, 3, 4);
gtk_widget_show(label);
- adjuster = (GtkAdjustment *)gtk_adjustment_new(8.0, 1.0, 32.0, 1.0, 8.0, 8.0);
+ adjuster = (GtkAdjustment *)gtk_adjustment_new(8.0, 1.0, 32.0, 1.0, 8.0, 0);
spin = gtk_spin_button_new(adjuster, 1.0, 0);
g_signal_connect(G_OBJECT(spin), "value-changed",
G_CALLBACK(config_spinchange_cb), dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]