Mon, 04 Nov 2019 01:02:13 +0300
Use g_clear_object instead of NULL check and g_object_unref
<?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.22.1 --> <interface> <requires lib="gtk+" version="3.20"/> <object class="GtkListStore" id="model"> <columns> <!-- column-name icon --> <column type="GdkPixbuf"/> <!-- column-name name --> <column type="gchararray"/> <!-- column-name account --> <column type="PurpleAccount"/> </columns> </object> <template class="PidginAccountChooser" parent="GtkComboBox"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="model">model</property> <signal name="destroy" handler="account_menu_destroyed_cb" swapped="no"/> <child> <object class="GtkCellRendererPixbuf"/> <attributes> <attribute name="pixbuf">0</attribute> </attributes> </child> <child> <object class="GtkCellRendererText"/> <attributes> <attribute name="text">1</attribute> </attributes> </child> </template> </interface>