~midori/midori/trunk

« back to all changes in this revision

Viewing changes to extensions/formhistory/formhistory-gdom-frontend.c

  • Committer: Christian Dywan
  • Date: 2013-09-17 22:02:12 UTC
  • mto: This revision was merged to the branch mainline in revision 6405.
  • Revision ID: christian.dywan@canonical.com-20130917220212-4w2b10bxo9k58kav
Use Midori.Database in formhistory extension

Show diffs side-by-side

added added

removed removed

Lines of Context:
457
457
void
458
458
formhistory_private_destroy (FormHistoryPriv *priv)
459
459
{
460
 
    if (priv->db)
461
 
    {
462
 
        sqlite3_close (priv->db);
463
 
        priv->db = NULL;
464
 
    }
 
460
    katze_object_assign (priv->database, NULL);
465
461
    katze_assign (priv->oldkeyword, NULL);
466
462
    gtk_widget_destroy (priv->popup);
467
463
    priv->popup = NULL;