diff options
author | Ross Burton <ross@openedhand.com> | 2007-07-27 09:44:33 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-07-27 09:44:33 +0000 |
commit | 3d94cc539df64753c612f9e34b05c1a14e837f85 (patch) | |
tree | a072da59350e8919cce833ef7bd728799bf15b4a /meta/packages/telepathy/empathy-0.9 | |
parent | f82153d8734d7f85c17484d7edfcd68d839ada62 (diff) | |
download | poky-3d94cc539df64753c612f9e34b05c1a14e837f85.tar.gz |
Add new empathy
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2238 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/telepathy/empathy-0.9')
-rw-r--r-- | meta/packages/telepathy/empathy-0.9/no-gnome.diff | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/packages/telepathy/empathy-0.9/no-gnome.diff b/meta/packages/telepathy/empathy-0.9/no-gnome.diff new file mode 100644 index 0000000000..cb9208c1df --- /dev/null +++ b/meta/packages/telepathy/empathy-0.9/no-gnome.diff | |||
@@ -0,0 +1,47 @@ | |||
1 | Index: src/empathy.c | ||
2 | =================================================================== | ||
3 | --- src/empathy.c.orig 2007-07-25 13:42:16.000000000 +0100 | ||
4 | +++ src/empathy.c 2007-07-25 13:42:47.000000000 +0100 | ||
5 | @@ -28,9 +28,6 @@ | ||
6 | #include <glib/gi18n.h> | ||
7 | #include <gtk/gtk.h> | ||
8 | |||
9 | -#include <libgnome/gnome-program.h> | ||
10 | -#include <libgnomeui/gnome-ui-init.h> | ||
11 | - | ||
12 | #include <libtelepathy/tp-conn.h> | ||
13 | #include <libtelepathy/tp-chan.h> | ||
14 | #include <libmissioncontrol/mc-account.h> | ||
15 | @@ -151,7 +148,6 @@ | ||
16 | McAccountMonitor *monitor; | ||
17 | EmpathyIdle *idle; | ||
18 | EmpathyChandler *chandler; | ||
19 | - GnomeProgram *program; | ||
20 | gboolean no_connect = FALSE; | ||
21 | GOptionContext *context; | ||
22 | GOptionEntry options[] = { | ||
23 | @@ -170,15 +166,7 @@ | ||
24 | g_option_context_add_main_entries (context, options, GETTEXT_PACKAGE); | ||
25 | |||
26 | g_set_application_name (PACKAGE_NAME); | ||
27 | - | ||
28 | - program = gnome_program_init ("empathy", | ||
29 | - PACKAGE_VERSION, | ||
30 | - LIBGNOMEUI_MODULE, | ||
31 | - argc, argv, | ||
32 | - GNOME_PROGRAM_STANDARD_PROPERTIES, | ||
33 | - "goption-context", context, | ||
34 | - GNOME_PARAM_HUMAN_READABLE_NAME, PACKAGE_NAME, | ||
35 | - NULL); | ||
36 | + gtk_init (&argc, &argv); | ||
37 | |||
38 | gtk_window_set_default_icon_name ("empathy"); | ||
39 | gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), | ||
40 | @@ -221,7 +209,6 @@ | ||
41 | g_object_unref (mc); | ||
42 | g_object_unref (idle); | ||
43 | g_object_unref (icon); | ||
44 | - g_object_unref (program); | ||
45 | |||
46 | return EXIT_SUCCESS; | ||
47 | } | ||