Back to index

libindicate  12.10.0
Functions | Variables
test-thousand-indicators-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-thousand-indicators-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-thousand-indicators-client.c.


       int i;
       for (i = 0; i < 1000; i++) {
              /* Memory leak :) */
              IndicateIndicator * indicator = indicate_indicator_new();

       g_timeout_add_seconds(2, done_timeout_cb, NULL);

       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-thousand-indicators-client.c.

gboolean passed = TRUE [static]

Definition at line 5 of file test-thousand-indicators-client.c.