aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libindicate/indicator.c16
-rw-r--r--libindicate/indicator.h2
-rw-r--r--libindicate/tests/indicate-and-crash.c4
3 files changed, 20 insertions, 2 deletions
diff --git a/libindicate/indicator.c b/libindicate/indicator.c
index 2db8468..3e168c9 100644
--- a/libindicate/indicator.c
+++ b/libindicate/indicator.c
@@ -4,6 +4,8 @@
/* Signals */
enum {
+ HIDE,
+ SHOW,
USER_DISPLAY,
LAST_SIGNAL
};
@@ -65,3 +67,17 @@ indicate_indicator_new (void)
return indicator;
}
+void
+indicate_indicator_show (IndicateIndicator * indicator)
+{
+
+
+}
+
+void
+indicate_indicator_hide (IndicateIndicator * indicator)
+{
+
+
+}
+
diff --git a/libindicate/indicator.h b/libindicate/indicator.h
index 77fd82f..976e4b6 100644
--- a/libindicate/indicator.h
+++ b/libindicate/indicator.h
@@ -33,6 +33,8 @@ struct _IndicateIndicator {
struct _IndicateIndicatorClass {
GObjectClass parent_class;
+ void (*hide) (IndicateIndicator * indicator, gpointer data);
+ void (*show) (IndicateIndicator * indicator, gpointer data);
void (*user_display) (IndicateIndicator * indicator, gpointer data);
gchar * (*get_type) (IndicateIndicator * indicator);
diff --git a/libindicate/tests/indicate-and-crash.c b/libindicate/tests/indicate-and-crash.c
index 1886a24..fbc32b0 100644
--- a/libindicate/tests/indicate-and-crash.c
+++ b/libindicate/tests/indicate-and-crash.c
@@ -10,9 +10,9 @@ main (int argc, char ** argv)
g_type_init();
IndicateIndicator * indicator = indicate_indicator_new();
- indicate_server_show(indicator->server);
+ indicator_show(indicator->server);
- g_timeout_add_seconds(15, crashfunc, NULL);
+ //g_timeout_add_seconds(15, crashfunc, NULL);
g_main_loop_run(g_main_loop_new(NULL, FALSE));