[Telepathy-commits] [telepathy-doc/master] Removed unwanted files.

Murray Cumming murrayc at murrayc.com
Mon Dec 15 07:13:07 PST 2008


---
 docs/examples/set_presence/Makefile.in |  395 --------------------------------
 docs/examples/set_presence/main.c~     |  251 --------------------
 docs/examples/set_presence/main.o      |  Bin 5424 -> 0 bytes
 3 files changed, 0 insertions(+), 646 deletions(-)
 delete mode 100644 docs/examples/set_presence/Makefile.in
 delete mode 100644 docs/examples/set_presence/main.c~
 delete mode 100644 docs/examples/set_presence/main.o

diff --git a/docs/examples/set_presence/Makefile.in b/docs/examples/set_presence/Makefile.in
deleted file mode 100644
index 4249b2b..0000000
--- a/docs/examples/set_presence/Makefile.in
+++ /dev/null
@@ -1,395 +0,0 @@
-# Makefile.in generated by automake 1.10.1 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
- at SET_MAKE@
-
-VPATH = @srcdir@
-pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
-	$(top_srcdir)/docs/examples/Makefile.am_fragment
-noinst_PROGRAMS = example$(EXEEXT)
-subdir = docs/examples/set_presence
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/m4/telepathy_docs_check_perl.m4 \
-	$(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
-	$(ACLOCAL_M4)
-mkinstalldirs = $(install_sh) -d
-CONFIG_CLEAN_FILES =
-PROGRAMS = $(noinst_PROGRAMS)
-am_example_OBJECTS = main.$(OBJEXT)
-example_OBJECTS = $(am_example_OBJECTS)
-example_LDADD = $(LDADD)
-depcomp = $(SHELL) $(top_srcdir)/depcomp
-am__depfiles_maybe = depfiles
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-SOURCES = $(example_SOURCES)
-DIST_SOURCES = $(example_SOURCES)
-ETAGS = etags
-CTAGS = ctags
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-ACLOCAL = @ACLOCAL@
-ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
-AMTAR = @AMTAR@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@
-DOC_USER_FORMATS = @DOC_USER_FORMATS@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EXEEXT = @EXEEXT@
-HELP_DIR = @HELP_DIR@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = $(TELEPATHY_DOCS_LIBS)
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAKEINFO = @MAKEINFO@
-MKDIR_P = @MKDIR_P@
-OBJEXT = @OBJEXT@
-OMF_DIR = @OMF_DIR@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL_PATH = @PERL_PATH@
-PKG_CONFIG = @PKG_CONFIG@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-TELEPATHY_DOCS_CFLAGS = @TELEPATHY_DOCS_CFLAGS@
-TELEPATHY_DOCS_LIBS = @TELEPATHY_DOCS_LIBS@
-VERSION = @VERSION@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_CC = @ac_ct_CC@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build_alias = @build_alias@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host_alias = @host_alias@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-all_includes = $(TELEPATHY_DOCS_CFLAGS) $(TELEPATHY_DOCS_WARNING_FLAGS)
-DEFAULT_INCLUDES = 
-INCLUDES = -I. -I$(srcdir) $(strip $(all_includes))
-example_SOURCES = main.c
-all: all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .o .obj
-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/docs/examples/Makefile.am_fragment $(am__configure_deps)
-	@for dep in $?; do \
-	  case '$(am__configure_deps)' in \
-	    *$$dep*) \
-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
-		&& exit 0; \
-	      exit 1;; \
-	  esac; \
-	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  docs/examples/set_presence/Makefile'; \
-	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  docs/examples/set_presence/Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
-	@case '$?' in \
-	  *config.status*) \
-	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
-	  *) \
-	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
-	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
-	esac;
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-$(top_srcdir)/configure:  $(am__configure_deps)
-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
-	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
-
-clean-noinstPROGRAMS:
-	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
-example$(EXEEXT): $(example_OBJECTS) $(example_DEPENDENCIES) 
-	@rm -f example$(EXEEXT)
-	$(LINK) $(example_OBJECTS) $(example_LDADD) $(LIBS)
-
-mostlyclean-compile:
-	-rm -f *.$(OBJEXT)
-
-distclean-compile:
-	-rm -f *.tab.c
-
- at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/main.Po at am__quote@
-
-.c.o:
- at am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
- at am__fastdepCC_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(COMPILE) -c $<
-
-.c.obj:
- at am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
- at am__fastdepCC_TRUE@	mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
- at AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
- at am__fastdepCC_FALSE@	$(COMPILE) -c `$(CYGPATH_W) '$<'`
-
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
-	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	mkid -fID $$unique
-tags: TAGS
-
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
-	tags=; \
-	here=`pwd`; \
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
-	  test -n "$$unique" || unique=$$empty_fix; \
-	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	    $$tags $$unique; \
-	fi
-ctags: CTAGS
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
-		$(TAGS_FILES) $(LISP)
-	tags=; \
-	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
-	unique=`for i in $$list; do \
-	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
-	  done | \
-	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
-	      END { if (nonempty) { for (i in files) print i; }; }'`; \
-	test -z "$(CTAGS_ARGS)$$tags$$unique" \
-	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-	     $$tags $$unique
-
-GTAGS:
-	here=`$(am__cd) $(top_builddir) && pwd` \
-	  && cd $(top_srcdir) \
-	  && gtags -i $(GTAGS_ARGS) $$here
-
-distclean-tags:
-	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-
-distdir: $(DISTFILES)
-	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
-	list='$(DISTFILES)'; \
-	  dist_files=`for file in $$list; do echo $$file; done | \
-	  sed -e "s|^$$srcdirstrip/||;t" \
-	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
-	case $$dist_files in \
-	  */*) $(MKDIR_P) `echo "$$dist_files" | \
-			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
-			   sort -u` ;; \
-	esac; \
-	for file in $$dist_files; do \
-	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
-	  if test -d $$d/$$file; then \
-	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
-	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
-	    fi; \
-	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
-	  else \
-	    test -f $(distdir)/$$file \
-	    || cp -p $$d/$$file $(distdir)/$$file \
-	    || exit 1; \
-	  fi; \
-	done
-check-am: all-am
-check: check-am
-all-am: Makefile $(PROGRAMS)
-installdirs:
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
-	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
-	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
-	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
-	  `test -z '$(STRIP)' || \
-	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
-mostlyclean-generic:
-
-clean-generic:
-
-distclean-generic:
-	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-
-maintainer-clean-generic:
-	@echo "This command is intended for maintainers to use"
-	@echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
-
-distclean: distclean-am
-	-rm -rf ./$(DEPDIR)
-	-rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
-	distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-info: info-am
-
-info-am:
-
-install-data-am:
-
-install-dvi: install-dvi-am
-
-install-exec-am:
-
-install-html: install-html-am
-
-install-info: install-info-am
-
-install-man:
-
-install-pdf: install-pdf-am
-
-install-ps: install-ps-am
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
-	-rm -rf ./$(DEPDIR)
-	-rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am:
-
-.MAKE: install-am install-strip
-
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-	clean-noinstPROGRAMS ctags distclean distclean-compile \
-	distclean-generic distclean-tags distdir dvi dvi-am html \
-	html-am info info-am install install-am install-data \
-	install-data-am install-dvi install-dvi-am install-exec \
-	install-exec-am install-html install-html-am install-info \
-	install-info-am install-man install-pdf install-pdf-am \
-	install-ps install-ps-am install-strip installcheck \
-	installcheck-am installdirs maintainer-clean \
-	maintainer-clean-generic mostlyclean mostlyclean-compile \
-	mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
-	uninstall-am
-
-
-post-html:
-	rsync $(rsync_options) $(example_dirs) $$USER@$(web_host):$(web_path)
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/docs/examples/set_presence/main.c~ b/docs/examples/set_presence/main.c~
deleted file mode 100644
index d19ea16..0000000
--- a/docs/examples/set_presence/main.c~
+++ /dev/null
@@ -1,251 +0,0 @@
-/* Copyright 2008 Collabora Ltd
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include <telepathy-glib/connection-manager.h>
-#include <telepathy-glib/connection.h>
-#include <telepathy-glib/util.h>
-#include <glib/gprintf.h>
-
-GMainLoop *mainloop = NULL;
-TpDBusDaemon *bus_daemon = NULL;
-TpConnection *connection = NULL;
-
-/* A utility function to make our debug output easier to read. */
-const gchar* get_reason_description (TpConnectionStatusReason reason)
-{
-  switch (reason)
-    {
-      case TP_CONNECTION_STATUS_REASON_NONE_SPECIFIED:
-        return "None specified";
-      case TP_CONNECTION_STATUS_REASON_REQUESTED:
-        return "Requested";
-      case TP_CONNECTION_STATUS_REASON_NETWORK_ERROR:
-        return "Network error";
-      case TP_CONNECTION_STATUS_REASON_AUTHENTICATION_FAILED:
-        return "Authentication failed";
-      case TP_CONNECTION_STATUS_REASON_ENCRYPTION_ERROR:
-        return "Encryption Error";
-      case TP_CONNECTION_STATUS_REASON_NAME_IN_USE:
-        return "Name in use";
-      case TP_CONNECTION_STATUS_REASON_CERT_NOT_PROVIDED:
-        return "Certificate not provided";
-      case TP_CONNECTION_STATUS_REASON_CERT_UNTRUSTED:
-        return "Certificate untrusted";
-      case TP_CONNECTION_STATUS_REASON_CERT_EXPIRED:
-        return "Certificate expired";
-      case TP_CONNECTION_STATUS_REASON_CERT_NOT_ACTIVATED:
-        return "Certificate not activated";
-      case TP_CONNECTION_STATUS_REASON_CERT_HOSTNAME_MISMATCH:
-        return "Certificate hostname mismatch";
-      case TP_CONNECTION_STATUS_REASON_CERT_FINGERPRINT_MISMATCH:
-        return "Certificate fingerprint mismatch";
-      case TP_CONNECTION_STATUS_REASON_CERT_SELF_SIGNED:
-        return "Cerficate is self signed";
-      case TP_CONNECTION_STATUS_REASON_CERT_OTHER_ERROR:
-        return "Other certificate error";
-      default:
-        return "Unknown reason";
-   }
-}
-
-void on_connection_set_presence(TpConnection *proxy,
-  const GError *error,
-  gpointer user_data, 
-  GObject *weak_object)
-{
-  if (error != NULL)
-    {
-      g_printf ("tp_cli_connection_interface_simple_presence_call_set_presence() failed: %s\n", error->message);
-      g_main_loop_quit (mainloop);
-      return;
-    }
-
-   g_printf ("Connection set.\n");
-
-
-
-   /* Disconnect the connection now that our example has finished.
-      Otherwise it will be orphaned. */
-   g_printf ("DEBUG: Disconnecting.\n");
-   tp_cli_connection_call_disconnect (connection, -1, NULL, NULL,
-            NULL, NULL); /* Also destroys the connection object. */
-   connection = NULL;
-}
-
-
-void on_connection_status_changed(TpConnection *proxy,
-  guint arg_Status,
-  guint arg_Reason,
-  gpointer user_data,
-  GObject *weak_object)
-{
-  switch(arg_Status)
-    {
-      case TP_CONNECTION_STATUS_CONNECTED:
-        g_printf ("Connection status: Connected (reason: %s)\n", get_reason_description (arg_Reason));
-
-        /* Set the presence: */
-        tp_cli_connection_interface_simple_presence_call_set_presence (
-          connection, 
-          -1, /* timeout */
-          "away",
-          "Gone fishing",
-          &on_connection_set_presence,
-          NULL, NULL, NULL);
-
-        break;
-
-      case TP_CONNECTION_STATUS_CONNECTING:
-        g_printf ("Connection status: Connecting (reason: %s)\n", get_reason_description (arg_Reason));
-
-        break;
-
-      case TP_CONNECTION_STATUS_DISCONNECTED:
-        g_printf ("Connection status: Disconnected (reason: %s)\n", get_reason_description (arg_Reason));
-
-        /* Finish with the connection object: */
-        if (connection)
-          {
-            g_object_unref (connection);
-            connection = NULL;
-          }
-
-        /* Stop the application: */
-        g_main_loop_quit (mainloop);
-
-        break;
-
-      default:
-        g_printf ("Connection status: Unknown status.\n");
-        break;
-    }
-}
-
-void
-got_connection (TpConnectionManager *connection_manager,
-                const gchar *service_name,
-                const gchar *object_path,
-                const GError *request_connection_error,
-                gpointer user_data,
-                GObject *weak_object)
-{
-  TpProxySignalConnection *signal_connection;
-  GError *error = NULL;
-
-  if (request_connection_error != NULL)
-    {
-      g_printf ("RequestConnection failed: %s\n",
-          request_connection_error->message);
-      g_main_loop_quit (mainloop);
-      return;
-    }
-
-  connection = tp_connection_new (bus_daemon, service_name, object_path, &error);
-
-  if (error != NULL)
-    {
-      g_printf ("tp_connection_new() failed: %s\n", error->message);
-      g_clear_error (&error);
-      g_main_loop_quit (mainloop);
-      return;
-    }
-
-  g_printf("DEBUG: Connection created.\n");
-
-  /* React to connection status changes,
-   * including errors when we try to connect: */
-  signal_connection = tp_cli_connection_connect_to_status_changed (connection,
-      &on_connection_status_changed,
-      NULL, /* user_data */
-      NULL, /* destroy_callback */
-      NULL, /* weak_object */
-      &error);
-
-  if (error)
-    {
-      g_printf ("couldn't connect to StatusChanged: %s\n", error->message);
-      g_clear_error (&error);
-      g_main_loop_quit (mainloop);
-      return;
-    }
-
-  /* Connect the connection: */
-  g_printf ("DEBUG: Calling Connect().\n");
-  tp_cli_connection_call_connect (connection, -1, NULL, NULL, NULL, NULL);
-}
-
-
-int
-main (int argc, char **argv)
-{
-  g_type_init ();
-
-  /* Create the main loop: */
-  mainloop = g_main_loop_new (NULL, FALSE);
-
-  bus_daemon = tp_dbus_daemon_new (tp_get_bus ());
-
-  /* Get the connection manager: */
-  GError *error = NULL;
-  TpConnectionManager *connection_manager = 
-    tp_connection_manager_new (bus_daemon, "gabble", NULL, &error);
-  if (error)
-    {
-      g_printf ("tp_connection_manager_new() failed: %s\n", error->message);
-      g_clear_error (&error);
-      return 1;
-    }
-
-  /* Get the connection : */
-  GHashTable *parameters = g_hash_table_new_full (NULL, NULL, NULL,
-      (GDestroyNotify) tp_g_value_slice_free);
-
-  GValue *value = tp_g_value_slice_new (G_TYPE_STRING);
-  g_value_set_static_string (value, "murrayc at murrayc.com");
-  g_hash_table_insert (parameters, "account", value);
-
-  value = tp_g_value_slice_new (G_TYPE_STRING);
-  g_value_set_static_string (value, "luftjabb");
-  g_hash_table_insert (parameters, "password", value);
-
-  /* This jabber-specific parameter can avoid clashes with 
-     other telepathy clients that use the default jabber 
-     resource name. */
-  value = tp_g_value_slice_new (G_TYPE_STRING);
-  g_value_set_static_string (value, "telepathy-doc set_presence example");
-  g_hash_table_insert (parameters, "resource", value);
-
-  /* Call RequestConnection; it will return asynchronously by calling got_connection */
-  tp_cli_connection_manager_call_request_connection (connection_manager, -1,
-      "jabber", parameters, got_connection, NULL, NULL, NULL);
-
-  g_hash_table_unref (parameters);
-  parameters = NULL;
-
-
-  /* Run the main loop, 
-   * to keep our application alive while we wait for responses from telepathy.
-   * This function returns when we call g_main_loop_quit() from elsewhere.
-   */
-  g_main_loop_run (mainloop);
-
-  /* Clean up: */
-  g_object_unref (connection_manager);
-  g_main_loop_unref (mainloop);
-  g_object_unref (bus_daemon);
-
-  return 0;
-}
diff --git a/docs/examples/set_presence/main.o b/docs/examples/set_presence/main.o
deleted file mode 100644
index 17cb040fed674ac5ed26e9aa2b313398a1f49963..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 5424
zcmb7IZ)_Y#6`yll;u^PhQ$rgl?KarNN#v8$7$mF~C9yXFHF5*Qv<+0-_1>Oule^u^
z?p|yQ0zq~`&eiIN(h7khg!q>ad?^B2iGD~)g&P$l{-~meN)!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