Glade memory leaks?

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

 



Why this causes memory usage increases in htop?

if (connect_build_object != NULL) {
    g_object_unref (G_OBJECT ( connect_build_object ));
    object = NULL;
}
    connect_build_object = gtk_builder_new();
gtk_builder_add_from_file ( connect_build_object, "main_window.ui", NULL );
    gtk_builder_connect_signals ( connect_build_object, NULL );
connect_window = GTK_WIDGET ( gtk_builder_get_object ( connect_build_object, "connec" ) );
    gtk_widget_show ( connect_window );

Where connect_build_object is a global variable.


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux