]> Pileus Git - ~andy/gtk/blobdiff - gtk/tests/grid.c
filechooserbutton: Don't duplicate tests for GTK_RESPONSE_DELETE_EVENT
[~andy/gtk] / gtk / tests / grid.c
index 90be1fda2664e57c22e089eea3a56462300c97e0..436cfa30f21d92121503ebf95302a3a326d40347 100644 (file)
@@ -12,9 +12,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <gtk/gtk.h>
@@ -39,7 +37,7 @@ test_attach (void)
                            "width", &width,
                            "height", &height,
                            NULL);
-  g_assert_cmpint (left,   ==, 0);
+  g_assert_cmpint (left,   ==, -1);
   g_assert_cmpint (top,    ==, 0);
   g_assert_cmpint (width,  ==, 1);
   g_assert_cmpint (height, ==, 1);
@@ -53,7 +51,7 @@ test_attach (void)
                            "width", &width,
                            "height", &height,
                            NULL);
-  g_assert_cmpint (left,   ==, 1);
+  g_assert_cmpint (left,   ==, 0);
   g_assert_cmpint (top,    ==, 0);
   g_assert_cmpint (width,  ==, 2);
   g_assert_cmpint (height, ==, 2);
@@ -70,7 +68,7 @@ test_attach (void)
                            "width", &width,
                            "height", &height,
                            NULL);
-  g_assert_cmpint (left,   ==, 0);
+  g_assert_cmpint (left,   ==, -1);
   g_assert_cmpint (top,    ==, 1);
   g_assert_cmpint (width,  ==, 3);
   g_assert_cmpint (height, ==, 1);