[gedit-list] GtkWarning in assertion of GTK_IS_CONTAINER



Hi All

sys:1: GtkWarning: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed

I added this code

        self.update_session_menu()

        for session in self.plugin.sessions :
            if session.name == 'atual':
                self.plugin.load_session( session, self.window)

        manager.ensure_update()

originally the code was:

        self.update_session_menu()

        manager.ensure_update()


the key is gedit even open 'atual' saved session.



--
Lucas Stephanou

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]