Use G_OBJECT_WARN_INVALID_PROPERTY_ID in all get/set_property functions.
authorXan Lopez <xan@src.gnome.org>
Thu, 13 Mar 2008 23:00:41 +0000 (23:00 +0000)
committerXan Lopez <xan@src.gnome.org>
Thu, 13 Mar 2008 23:00:41 +0000 (23:00 +0000)
Bug #522115

svn path=/trunk/; revision=1106

ChangeLog
libsoup/soup-address.c
libsoup/soup-auth-domain-basic.c
libsoup/soup-auth-domain-digest.c
libsoup/soup-auth-domain.c
libsoup/soup-auth.c
libsoup/soup-connection.c
libsoup/soup-message.c
libsoup/soup-server.c
libsoup/soup-session.c
libsoup/soup-socket.c

index 9bda0c3..6006011 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,22 @@
 2008-03-13  Xan Lopez  <xan@gnome.org>
 
+        * libsoup/soup-address.c:
+        * libsoup/soup-auth-domain-basic.c:
+        * libsoup/soup-auth-domain-digest.c:
+        * libsoup/soup-auth-domain.c:
+        * libsoup/soup-auth.c:
+        * libsoup/soup-connection.c:
+        * libsoup/soup-message.c:
+        * libsoup/soup-server.c:
+        * libsoup/soup-session.c:
+        * libsoup/soup-socket.c:
+
+       Use G_OBJECT_WARN_INVALID_PROPERTY_ID in all get/set_property functions.
+
+       Bug #522115
+       
+2008-03-13  Xan Lopez  <xan@gnome.org>:ChangeLog
+
         * tests/dns.c: (main):
         * tests/get.c: (main):
         * tests/getbug.c: (main):
index 7b2ccfc..69bbe98 100644 (file)
@@ -301,6 +301,7 @@ set_property (GObject *object, guint prop_id,
                priv->port = ntohs (SOUP_ADDRESS_GET_PORT (priv));
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -331,6 +332,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_pointer (value, priv->sockaddr);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
index b8b8fc5..c9a7646 100644 (file)
@@ -124,6 +124,7 @@ set_property (GObject *object, guint prop_id,
                priv->auth_data = g_value_get_pointer (value);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -143,6 +144,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_pointer (value, priv->auth_data);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
index a98bf74..1d5d46b 100644 (file)
@@ -129,6 +129,7 @@ set_property (GObject *object, guint prop_id,
                priv->auth_data = g_value_get_pointer (value);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -148,6 +149,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_pointer (value, priv->auth_data);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
index 04ee1c4..049f838 100644 (file)
@@ -210,6 +210,7 @@ set_property (GObject *object, guint prop_id,
                priv->auth_data = g_value_get_pointer (value);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -240,6 +241,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_pointer (value, priv->auth_data);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
index 3079281..4da8636 100644 (file)
@@ -146,6 +146,7 @@ set_property (GObject *object, guint prop_id,
                priv->proxy = g_value_get_boolean (value);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -174,6 +175,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_boolean (value, soup_auth_is_authenticated (auth));
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
index bcb8b94..4539902 100644 (file)
@@ -275,6 +275,7 @@ set_property (GObject *object, guint prop_id,
                priv->timeout = g_value_get_uint (value);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -305,6 +306,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_uint (value, priv->timeout);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
index 6e2fa00..081b898 100644 (file)
@@ -452,6 +452,7 @@ set_property (GObject *object, guint prop_id,
                                              g_value_get_string (value));
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -483,6 +484,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_string (value, msg->reason_phrase);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
index 6b6d608..1286166 100644 (file)
@@ -494,6 +494,7 @@ set_property (GObject *object, guint prop_id,
                        priv->server_header = g_strdup (header);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -527,6 +528,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_string (value, priv->server_header);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
index a676864..01d240e 100644 (file)
@@ -511,6 +511,7 @@ set_property (GObject *object, guint prop_id,
                        priv->user_agent = g_strdup (user_agent);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -548,6 +549,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_string (value, priv->user_agent);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
index 660c623..fdf8d37 100644 (file)
@@ -403,6 +403,7 @@ set_property (GObject *object, guint prop_id,
                priv->timeout = g_value_get_uint (value);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }
@@ -436,6 +437,7 @@ get_property (GObject *object, guint prop_id,
                g_value_set_uint (value, priv->timeout);
                break;
        default:
+               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
        }
 }