diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-08 23:02:19 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-24 19:29:03 +0800 |
commit | 1c51f65b87f5b523e6fdc76b91402936e9599cff (patch) | |
tree | 101958e0b7728a0c663b87df90d3570d8d83abff | |
parent | bcc23595d5522d4345148bdc1ae05ab016894be1 (diff) | |
download | gsoc2013-empathy-1c51f65b87f5b523e6fdc76b91402936e9599cff.tar gsoc2013-empathy-1c51f65b87f5b523e6fdc76b91402936e9599cff.tar.gz gsoc2013-empathy-1c51f65b87f5b523e6fdc76b91402936e9599cff.tar.bz2 gsoc2013-empathy-1c51f65b87f5b523e6fdc76b91402936e9599cff.tar.lz gsoc2013-empathy-1c51f65b87f5b523e6fdc76b91402936e9599cff.tar.xz gsoc2013-empathy-1c51f65b87f5b523e6fdc76b91402936e9599cff.tar.zst gsoc2013-empathy-1c51f65b87f5b523e6fdc76b91402936e9599cff.zip |
remove EmpathyContactManager's test
We want to get rid of it any way.
https://bugzilla.gnome.org/show_bug.cgi?id=663387
-rw-r--r-- | tests/interactive/Makefile.am | 2 | ||||
-rw-r--r-- | tests/interactive/contact-manager.c | 43 |
2 files changed, 0 insertions, 45 deletions
diff --git a/tests/interactive/Makefile.am b/tests/interactive/Makefile.am index e850d25a4..e07ed65f7 100644 --- a/tests/interactive/Makefile.am +++ b/tests/interactive/Makefile.am @@ -14,7 +14,6 @@ LDADD = \ $(EDS_LIBS) noinst_PROGRAMS = \ - contact-manager \ empathy-logs \ test-empathy-account-assistant \ test-empathy-contact-blocking-dialog \ @@ -23,7 +22,6 @@ noinst_PROGRAMS = \ test-empathy-protocol-chooser \ test-empathy-account-chooser -contact_manager_SOURCES = contact-manager.c empathy_logs_SOURCES = empathy-logs.c test_empathy_contact_blocking_dialog_SOURCES = test-empathy-contact-blocking-dialog.c test_empathy_presence_chooser_SOURCES = test-empathy-presence-chooser.c diff --git a/tests/interactive/contact-manager.c b/tests/interactive/contact-manager.c deleted file mode 100644 index e391df634..000000000 --- a/tests/interactive/contact-manager.c +++ /dev/null @@ -1,43 +0,0 @@ -#include <stdlib.h> - -#include <glib.h> -#include <gtk/gtk.h> -#include <libempathy/empathy-contact-manager.h> -#include <libempathy/empathy-debug.h> - -#include <libempathy-gtk/empathy-contact-list-store.h> -#include <libempathy-gtk/empathy-ui-utils.h> - -int -main (int argc, char **argv) -{ - EmpathyContactManager *manager; - EmpathyContactListStore *store; - GtkWidget *combo; - GtkWidget *window; - GtkCellRenderer *renderer; - - gtk_init (&argc, &argv); - empathy_gtk_init (); - - empathy_debug_set_flags (g_getenv ("EMPATHY_DEBUG")); - g_main_loop_new (NULL, FALSE); - manager = empathy_contact_manager_dup_singleton (); - store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (manager)); - empathy_contact_list_store_set_is_compact (store, TRUE); - empathy_contact_list_store_set_show_groups (store, FALSE); - combo = gtk_combo_box_new_with_model (GTK_TREE_MODEL (store)); - renderer = gtk_cell_renderer_text_new (); - gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo), renderer, TRUE); - gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (combo), renderer, "text", EMPATHY_CONTACT_LIST_STORE_COL_NAME); - window = gtk_window_new (GTK_WINDOW_TOPLEVEL); - gtk_container_add (GTK_CONTAINER (window), combo); - gtk_widget_show (combo); - gtk_widget_show (window); - g_object_unref (manager); - - gtk_main (); - - return EXIT_SUCCESS; -} - |