~ubuntu-branches/ubuntu/gutsy/avscan/gutsy-security

« back to all changes in this revision

Viewing changes to avscan/pulist.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2007-04-05 23:00:34 UTC
  • mfrom: (1.5.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070405230034-5hcoi04gervnft1j
Tags: 3.1.1-openssl-1
* New upstream release.
* Remove clamav 0.90 patch, supported upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1778
1778
 
1779
1779
/*
1780
1780
 *      Sets the Popup List item's data & destroy callback.
 
1781
 *
 
1782
 *      The list specifies the Popup List.
 
1783
 *
 
1784
 *      The i specifies the item.
 
1785
 *
 
1786
 *      The data specifies the item's data.
 
1787
 *
 
1788
 *      The destroy_cb specifies the item data destroy callback. If
 
1789
 *      destroy_cb is NULL then no item data destroy callback will
 
1790
 *      be set.
1781
1791
 */
1782
1792
void PUListSetItemDataFull(
1783
1793
        pulist_struct *list, const gint i,
2301
2311
 
2302
2312
        /* Toplevel GtkWindow */
2303
2313
        list->toplevel = w = gtk_window_new(GTK_WINDOW_POPUP);
 
2314
        gtk_window_set_policy(GTK_WINDOW(w), TRUE, TRUE, TRUE);
2304
2315
        gtk_widget_add_events(
2305
2316
            w,
2306
2317
            GDK_STRUCTURE_MASK |
2401
2412
 
2402
2413
        /* Shadow GtkWindow */
2403
2414
        list->shadow = w = gtk_window_new(GTK_WINDOW_POPUP);
 
2415
        gtk_window_set_policy(GTK_WINDOW(w), TRUE, TRUE, TRUE);
2404
2416
        gtk_widget_add_events(
2405
2417
            w,
2406
2418
            GDK_STRUCTURE_MASK | GDK_EXPOSURE_MASK
2414
2426
            GTK_OBJECT(w), "draw",
2415
2427
            GTK_SIGNAL_FUNC(PUListShadowPaintCB), (GtkObject *)list
2416
2428
        );
2417
 
        gtk_window_set_policy(
2418
 
            GTK_WINDOW(w), TRUE, TRUE, TRUE
2419
 
        );
2420
2429
        gtk_widget_realize(w);
2421
2430
        window = w->window;
2422
2431
        if(window != NULL)