static void egg_tray_manager_finalize (GObject *object) { EggTrayManager *manager; manager = EGG_TRAY_MANAGER (object); egg_tray_manager_unmanage (manager); G_OBJECT_CLASS (parent_class)->finalize (object); }
static void egg_tray_manager_finalize (GObject *object) { EggTrayManager *manager; manager = EGG_TRAY_MANAGER (object); egg_tray_manager_unmanage (manager); g_list_free (manager->messages); g_hash_table_destroy (manager->socket_table); G_OBJECT_CLASS (parent_class)->finalize (object); }
static void egg_tray_manager_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec) { EggTrayManager *manager = EGG_TRAY_MANAGER (object); switch (prop_id) { case PROP_ORIENTATION: g_value_set_enum (value, manager->orientation); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } }