+2007-09-28 Xavier Claessens <xclaesse@gmail.com>
+
+ * configure.ac:
+ * src/empathy.c: Remove GnomeProgram, not useful anymore, drop libgnome
+ dependency. Fixes bug #442079
+
+ * libempathy/empathy-avatar.c:
+ * libempathy/empathy-avatar.h: Fix Copyright header.
+
+ * libempathy/empathy-contact-factory.c:
+ * libempathy/empathy-tp-group.c: Free return value for async DBus calls,
+ they are not owned by dbus-glib. This fix big leaks, thanks again to
+ valgrind.
+
2007-09-28 Xavier Claessens <xclaesse@gmail.com>
* libempathy/empathy-tp-group.c: Look in the local_pendings list if a
libmissioncontrol >= $MISSION_CONTROL_REQUIRED
gtk+-2.0 >= $GTK_REQUIRED
libglade-2.0 >= $LIBGLADE_REQUIRED
- libgnomeui-2.0
libebook-1.2
])
libmissioncontrol >= $MISSION_CONTROL_REQUIRED
gtk+-2.0 >= $GTK_REQUIRED
libglade-2.0 >= $LIBGLADE_REQUIRED
- libgnomeui-2.0
], have_python="yes", have_python="no")
fi
else
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
- * Copyright (C) 2002-2007 Imendio AB
+ * Copyright (C) 2006 Xavier Claessens <xclaesse@gmail.com>
+ * Copyright (C) 2007 Collabora Ltd.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
- * Authors: Martyn Russell <martyn@imendio.com>
- * Xavier Claessens <xclaesse@gmail.com>
+ * Authors: Xavier Claessens <xclaesse@gmail.com>
*/
#include "config.h"
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2006 Xavier Claessens <xclaesse@gmail.com>
+ * Copyright (C) 2007 Collabora Ltd.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
+ *
+ * Authors: Xavier Claessens <xclaesse@gmail.com>
*/
#ifndef __EMPATHY_AVATAR_H__
g_hash_table_foreach (handle_table,
(GHFunc) contact_factory_parse_presence_foreach,
account_data);
+
+ g_hash_table_destroy (handle_table);
OUT:
contact_factory_account_data_return_call (account_data);
}
static void
contact_factory_set_aliases_cb (DBusGProxy *proxy,
- GError *error,
- gpointer user_data)
+ GError *error,
+ gpointer user_data)
{
ContactFactoryAccountData *account_data = user_data;
i++;
}
+ g_strfreev (contact_names);
OUT:
contact_factory_account_data_return_call (data->account_data);
g_free (data->handles);
account_data);
}
+ g_hash_table_destroy (tokens);
g_array_free (data.handles, TRUE);
OUT:
contact_factory_account_data_return_call (account_data);
channel_type,
generic,
specific);
- }
+ g_value_array_free (values);
+ }
+ g_ptr_array_free (capabilities, TRUE);
OUT:
contact_factory_account_data_return_call (account_data);
}
}
contact_factory_request_everything (data->account_data, handles);
+ g_array_free (handles, TRUE);
OUT:
g_list_foreach (data->contacts, (GFunc) g_object_unref, NULL);
0, /* actor */
0, /* reason */
group);
+
+ g_array_free (handles, TRUE);
}
static void
actor_handle, /* actor */
reason, /* reason */
group);
+
+ g_value_array_free (pending_struct);
}
+ g_ptr_array_free (array, TRUE);
g_array_free (handles, TRUE);
}
0, /* actor */
0, /* reason */
group);
+
+ g_array_free (handles, TRUE);
}
static void
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#include <libgnome/gnome-program.h>
-#include <libgnomeui/gnome-ui-init.h>
#include <libebook/e-book.h>
#include <libtelepathy/tp-conn.h>
McAccountMonitor *monitor;
EmpathyIdle *idle;
EmpathyChandler *chandler;
- GnomeProgram *program;
gboolean no_connect = FALSE;
GOptionContext *context;
GOptionEntry options[] = {
g_set_application_name (PACKAGE_NAME);
- program = gnome_program_init ("empathy",
- PACKAGE_VERSION,
- LIBGNOMEUI_MODULE,
- argc, argv,
- GNOME_PROGRAM_STANDARD_PROPERTIES,
- "goption-context", context,
- GNOME_PARAM_HUMAN_READABLE_NAME, PACKAGE_NAME,
- NULL);
-
+ gtk_init (&argc, &argv);
gtk_window_set_default_icon_name ("empathy");
gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
DATADIR G_DIR_SEPARATOR_S "empathy");
g_object_unref (mc);
g_object_unref (idle);
g_object_unref (icon);
- g_object_unref (program);
return EXIT_SUCCESS;
}