~ubuntu-branches/debian/sid/libindicate/sid

« back to all changes in this revision

Viewing changes to examples/listen-and-print.c

  • Committer: Bazaar Package Importer
  • Author(s): Evgeni Golov
  • Date: 2010-06-20 14:01:00 UTC
  • mfrom: (4.1.14 maverick)
  • Revision ID: james.westby@ubuntu.com-20100620140100-59y3fqqmp9nfp8gr
Tags: 0.4.1-1
* Merge from Ubuntu.
  Closes: #560122
* debian/control:
  - Set Maintainer to pkg-ayatana.
  - Add myself as Uploader.
  - Update Vcs-* fields.
  - Standards-Version: 3.8.4
  - Update package descriptions.
  - -doc package is Arch:all
  - -doc package does not need to depend on the lib.
* debian/copyright:
  - Convert to DEP5 format.
  - Add Ken and Sebastien, according to changelog.
  - Add bindings/ and examples/ copyrights.
* debian/{control,rules}:
  - Force python2.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "libindicate-gtk/listener.h"
25
25
 
26
26
static void
27
 
show_property_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, gchar * propertydata, gpointer data)
 
27
show_property_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, const gchar * propertydata, gpointer data)
28
28
{
29
29
        g_debug("Indicator Property:       %s %d %s %s", INDICATE_LISTENER_SERVER_DBUS_NAME(server), INDICATE_LISTENER_INDICATOR_ID(indicator), property, propertydata);
30
30
        return;
31
31
}
32
32
 
33
 
static void
34
 
show_property_time_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, GTimeVal * propertydata, gpointer data)
 
33
static void 
 
34
show_property_time_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, const GTimeVal * propertydata, gpointer data)
35
35
{
36
36
        time_t timet;
37
37
        struct tm * structtm;