util

util

Functions

Description

Functions

phosh_cp_widget_destroy ()

void
phosh_cp_widget_destroy (void *widget);

phosh_fix_app_id ()

char *
phosh_fix_app_id (const char *app_id);

phosh_clear_handler ()

void
phosh_clear_handler (gulong *handler,
                     gpointer object);

Emulates g_clear_signal_handler for pre-2.62 GLib

handler is zerod when removed, can be called on a zerod handler

Parameters

handler

the signal handler to disconnect

 

object

the GObject to remove the handler from

 

phosh_munge_app_id ()

gchar *
phosh_munge_app_id (const gchar *app_id);

Munges an app_id according to the rules used by gnome-shell, feedbackd and phoc:

Parameters

app_id

the app_id

 

Returns

The munged_app id


phosh_find_systemd_session ()

gboolean
phosh_find_systemd_session (char **session_id);