aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-09-28 19:53:50 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-09-28 19:53:50 +0800
commit1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844 (patch)
treeb45b3e5cd583e5ef9f3353b5ac66ff424baf485d /src
parent11ae12abf0ac6bb90e5eabb2d205235b0ed08606 (diff)
downloadgsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.gz
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.bz2
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.lz
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.xz
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.tar.zst
gsoc2013-empathy-1e47adb32ebeb88cdf9435fbed4d1fd25ee2f844.zip
Remove GnomeProgram, not useful anymore, drop libgnome dependency. Fixes
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. svn path=/trunk/; revision=330
Diffstat (limited to 'src')
-rw-r--r--src/empathy.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/empathy.c b/src/empathy.c
index e1a32a0b6..a1c521369 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -28,8 +28,6 @@
#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>
@@ -265,7 +263,6 @@ main (int argc, char *argv[])
McAccountMonitor *monitor;
EmpathyIdle *idle;
EmpathyChandler *chandler;
- GnomeProgram *program;
gboolean no_connect = FALSE;
GOptionContext *context;
GOptionEntry options[] = {
@@ -287,15 +284,7 @@ main (int argc, char *argv[])
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");
@@ -339,7 +328,6 @@ main (int argc, char *argv[])
g_object_unref (mc);
g_object_unref (idle);
g_object_unref (icon);
- g_object_unref (program);
return EXIT_SUCCESS;
}