summaryrefslogtreecommitdiff
path: root/examples/network
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2010-01-02 12:07:32 -0600
committerJonathon Jongsma <jonathon@quotidian.org>2010-01-02 12:42:04 -0600
commit461f5e48794541480e1c4661ac3d84ea04bf1968 (patch)
tree340081dd083a091cddfb852343023c4ad87cecbc /examples/network
parentb01e56c2d8bfc39f006f26aefb529e31abd7541f (diff)
downloadglibmm-461f5e48794541480e1c4661ac3d84ea04bf1968.tar.gz
Take an extra ref from the return of g_inet_socket_address_get_address
This was causing a bunch of warnings in the examples
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/resolver.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/network/resolver.cc b/examples/network/resolver.cc
index 625c8593..ce1f5aa5 100644
--- a/examples/network/resolver.cc
+++ b/examples/network/resolver.cc
@@ -344,7 +344,6 @@ static void
got_next_async (Glib::RefPtr<Gio::AsyncResult> result,
Glib::RefPtr<Gio::SocketAddressEnumerator> enumerator)
{
- g_debug ("%s: enumerator: %p (%d)", G_STRFUNC, enumerator->gobj (), G_OBJECT (enumerator->gobj ())->ref_count);
try
{
Glib::RefPtr<Gio::SocketAddress> sockaddr = enumerator->next_finish (result);
@@ -368,7 +367,6 @@ Glib::RefPtr<Gio::SocketAddressEnumerator> global_enumerator;
static void
do_async_connectable (Glib::RefPtr<Gio::SocketAddressEnumerator> enumerator)
{
- g_debug ("%s: enumerator: %p (%d)", G_STRFUNC, enumerator->gobj (), G_OBJECT (enumerator->gobj ())->ref_count);
enumerator->next_async (cancellable,
sigc::bind (sigc::ptr_fun (got_next_async),
enumerator));
@@ -423,7 +421,6 @@ do_connectable (const std::string& arg, gboolean synchronous)
}
enumerator = connectable->enumerate ();
- g_debug ("%s: enumerator: %p (%d)", G_STRFUNC, enumerator->gobj (), G_OBJECT (enumerator->gobj ())->ref_count);
if (synchronous)
do_sync_connectable (enumerator);