114
114
if (check_guest_session()) {
115
115
mi = dbusmenu_menuitem_new();
117
117
dbusmenu_menuitem_child_append(root, mi);
118
118
g_signal_connect(G_OBJECT(mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(activate_guest_session), NULL);
121
121
if (check_new_session()) {
122
122
mi = dbusmenu_menuitem_new();
124
124
dbusmenu_menuitem_child_append(root, mi);
125
125
g_signal_connect(G_OBJECT(mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(activate_new_session), NULL);