Back to index

indicator-appmenu  12.10.0
Functions
gactionobservable.c File Reference
#include "config.h"
#include "gactionobservable.h"

Go to the source code of this file.

Functions

void g_action_observable_default_init (GActionObservableInterface *iface)
void g_action_observable_register_observer (GActionObservable *observable, const gchar *action_name, GActionObserver *observer)
void g_action_observable_unregister_observer (GActionObservable *observable, const gchar *action_name, GActionObserver *observer)

Function Documentation

void g_action_observable_default_init ( GActionObservableInterface *  iface)

Definition at line 33 of file gactionobservable.c.

{
}
void g_action_observable_register_observer ( GActionObservable *  observable,
const gchar *  action_name,
GActionObserver *  observer 
)

Definition at line 47 of file gactionobservable.c.

{
  g_return_if_fail (G_IS_ACTION_OBSERVABLE (observable));

  G_ACTION_OBSERVABLE_GET_IFACE (observable)
    ->register_observer (observable, action_name, observer);
}

Here is the caller graph for this function:

void g_action_observable_unregister_observer ( GActionObservable *  observable,
const gchar *  action_name,
GActionObserver *  observer 
)

Definition at line 70 of file gactionobservable.c.

{
  g_return_if_fail (G_IS_ACTION_OBSERVABLE (observable));

  G_ACTION_OBSERVABLE_GET_IFACE (observable)
    ->unregister_observer (observable, action_name, observer);
}