~ubuntu-branches/debian/sid/gnome-chess/sid

« back to all changes in this revision

Viewing changes to debian/patches/007-movlist-size.diff

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Rittau
  • Date: 2005-09-04 18:16:43 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050904181643-qfph33u3pa4azz5h
Tags: 0.3.3-6
* Fix problems with gcc 4.0:
  + debian/patches/021-gcc-4.0-fixes.diff: New patch.
  + Closes: #258798 "FTBFS with gcc-3.4: label at end of compound statement"
* Fix wrong Debian patch:
  + debian/patch/019-assertions.diff: Fixed.
  + Partly addresses bug #247846 "Crashes after a few moves (assertion
    failed)". This fix is not perfect. As Göran Weinholt notes in the
    bug report, assertions are not the way to go, but are a temporary
    stop-gap measure. (Better assertions than unpredicable results.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- src/movlist.c.old   2001-05-31 19:16:03.000000000 +0200
 
2
+++ src/movlist.c       2003-06-12 02:42:35.000000000 +0200
 
3
@@ -144,7 +144,9 @@
 
4
        gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (priv->swindow),
 
5
                                        GTK_POLICY_AUTOMATIC, 
 
6
                                        GTK_POLICY_ALWAYS);
 
7
-       gtk_widget_set_usize (GTK_WIDGET (priv->swindow), 200, PIECE_SIZE * 8);
 
8
+
 
9
+       gtk_widget_set_usize (GTK_WIDGET (priv->swindow), 200, 0);
 
10
+
 
11
        gtk_container_add (GTK_CONTAINER (movelist), priv->swindow);
 
12
        gtk_widget_show (priv->swindow);
 
13
 
 
14
@@ -161,7 +163,8 @@
 
15
        for (i = 0; i < 3; i++)
 
16
                gtk_clist_set_column_width (GTK_CLIST (clist), i, 50);
 
17
 
 
18
-       gtk_widget_set_usize (clist, 150, PIECE_SIZE * 8 );
 
19
+       gtk_widget_set_usize (clist, 150, 0 );
 
20
+
 
21
        gtk_container_add (GTK_CONTAINER (priv->swindow), clist);
 
22
        gtk_widget_show (clist);
 
23
        priv->clist = clist;