[ merged from stable ]
authorOwen Taylor <otaylor@redhat.com>
Mon, 6 May 2002 20:08:17 +0000 (20:08 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 6 May 2002 20:08:17 +0000 (20:08 +0000)
Mon May  6 16:06:23 2002  Owen Taylor  <otaylor@redhat.com>

[ merged from stable ]

        * gobject.c: Remove PROPERTIES_CHANGED enumeration
        value that wasn't used any more. (#78833,
        Matthias Clasen)

        * gboxed.c (g_boxed_copy): Remove check on data[2]
        that no longer exists. (#80814, Daniel Elstner)

gobject/ChangeLog
gobject/gboxed.c
gobject/gobject.c

index 2f79d00..5b75491 100644 (file)
@@ -1,3 +1,14 @@
+Mon May  6 16:06:23 2002  Owen Taylor  <otaylor@redhat.com>
+
+       [ merged from stable ]
+
+       * gobject.c: Remove PROPERTIES_CHANGED enumeration
+       value that wasn't used any more. (#78833, 
+       Matthias Clasen)
+
+       * gboxed.c (g_boxed_copy): Remove check on data[2]
+       that no longer exists. (#80814, Daniel Elstner)
+
 Tue Mar 26 15:21:47 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gsignal.h (g_signal_handlers_*_by_func): Add explicit
index a78b543..a16b359 100644 (file)
@@ -355,7 +355,7 @@ g_boxed_copy (GType         boxed_type,
     {
       GValue src_value, dest_value;
       
-      /* we heavil rely on third-party boxed type value vtable
+      /* we heavily rely on third-party boxed type value vtable
        * implementations to follow normal boxed value storage
        * (data[0].v_pointer is the boxed struct, and
        * data[1].v_uint holds the G_VALUE_NOCOPY_CONTENTS flag,
@@ -370,13 +370,12 @@ g_boxed_copy (GType         boxed_type,
       src_value.data[0].v_pointer = (gpointer) src_boxed;
       src_value.data[1].v_uint = G_VALUE_NOCOPY_CONTENTS;
 
-      /* call third-party code copy fucntion, fingers-crossed */
+      /* call third-party code copy function, fingers-crossed */
       value_meminit (&dest_value, boxed_type);
       value_table->value_copy (&src_value, &dest_value);
 
       /* double check and grouse if things went wrong */
-      if (dest_value.data[1].v_ulong ||
-         dest_value.data[2].v_ulong)
+      if (dest_value.data[1].v_ulong)
        g_warning ("the copy_value() implementation of type `%s' seems to make use of reserved GValue fields",
                   g_type_name (boxed_type));
 
index 624838e..7edd8f0 100644 (file)
@@ -41,7 +41,6 @@
 
 /* --- signals --- */
 enum {
-  PROPERTIES_CHANGED,
   NOTIFY,
   LAST_SIGNAL
 };