Back to index

libindicate  12.10.0
Functions
indicate-and-crash.c File Reference
#include <glib.h>
#include "libindicate/indicator.h"

Go to the source code of this file.

Functions

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

Function Documentation

gboolean crashfunc ( gpointer  data)

Definition at line 26 of file indicate-and-crash.c.

{ *(int *)data = 5; return FALSE;}

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 29 of file indicate-and-crash.c.

{
       g_type_init();

       IndicateIndicator * indicator = indicate_indicator_new();
       indicate_indicator_show(indicator);

       g_timeout_add_seconds(15, crashfunc, NULL);

       g_main_loop_run(g_main_loop_new(NULL, FALSE));

       return 0;
}

Here is the call graph for this function: