Back to index

libindicate  12.10.0
Functions | Variables
test-properties-client.c File Reference
#include <glib.h>
#include "libindicate/indicator.h"

Go to the source code of this file.


static gboolean done_timeout_cb (gpointer data)
int main (int argc, char *argv)


static gboolean passed = TRUE
static GMainLoop * mainloop = NULL

Function Documentation

static gboolean done_timeout_cb ( gpointer  data) [static]

Definition at line 9 of file test-properties-client.c.

       g_debug("All done.");
       return FALSE;

Here is the caller graph for this function:

int main ( int  argc,
char *  argv 

Definition at line 17 of file test-properties-client.c.


       IndicateIndicator * indicator = indicate_indicator_new();

       indicate_indicator_set_property(indicator,      "string-value",   "my-value");
       indicate_indicator_set_property_int(indicator,  "int-value",      42);
       indicate_indicator_set_property_bool(indicator, "bool-value",     TRUE);
       indicate_indicator_set_property_bool(indicator, "no-bool-value",  FALSE);


       g_timeout_add_seconds(2, done_timeout_cb, indicator);

       mainloop = g_main_loop_new(NULL, FALSE);

       return !passed;

Here is the call graph for this function:

Variable Documentation

GMainLoop* mainloop = NULL [static]

Definition at line 6 of file test-properties-client.c.

gboolean passed = TRUE [static]

Definition at line 5 of file test-properties-client.c.