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

« back to all changes in this revision

Viewing changes to avscan/animicon.c

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2006-08-31 18:52:27 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060831185227-ol7ren8qsenrzlvh
Tags: 0.8.5-openssl-1
* New upstream release.
* Register html documentation with doc-base.

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
        GdkColormap *colormap;
165
165
        GdkGC *gc;
166
166
        GdkWindow *window;
167
 
        AnimIcon *a = ANIM_ICON(data);
168
 
        if((widget == NULL) || (a == NULL))
169
 
            return;
 
167
        AnimIcon *a = ANIM_ICON(data);
 
168
        if((widget == NULL) || (a == NULL))
 
169
            return;
170
170
 
171
171
        window = widget->window;
172
172
        if(window == NULL)
346
346
            GTK_OBJECT(w), "expose_event",
347
347
            GTK_SIGNAL_FUNC(AnimIconEventCB), a 
348
348
        );
349
 
        gtk_signal_connect(
350
 
            GTK_OBJECT(w), "realize",
351
 
            GTK_SIGNAL_FUNC(AnimIconRealizeCB), a
352
 
        );
 
349
        gtk_signal_connect(
 
350
            GTK_OBJECT(w), "realize",
 
351
            GTK_SIGNAL_FUNC(AnimIconRealizeCB), a
 
352
        );
353
353
 
354
354
        a->flags = 0;
355
355
        a->colormap = NULL;
458
458
 */
459
459
void AnimIconSetColorBG(GtkWidget *w, const GdkColor *c)
460
460
{
461
 
        AnimIcon *a = ANIM_ICON((w != NULL) ?
462
 
            gtk_object_get_data(GTK_OBJECT(w), ANIM_ICON_DATA_KEY) : NULL
463
 
        );
464
 
        if(a == NULL)
465
 
            return;
 
461
        AnimIcon *a = ANIM_ICON((w != NULL) ?
 
462
            gtk_object_get_data(GTK_OBJECT(w), ANIM_ICON_DATA_KEY) : NULL
 
463
        );
 
464
        if(a == NULL)
 
465
            return;
466
466
 
467
467
        GDK_COLORMAP_FREE_COLOR(a->colormap, a->color_bg);
468
468
        g_free(a->color_bg);
481
481
 */
482
482
void AnimIconSetRepeating(GtkWidget *w, gboolean repeating)
483
483
{
484
 
        AnimIcon *a = ANIM_ICON((w != NULL) ?
485
 
            gtk_object_get_data(GTK_OBJECT(w), ANIM_ICON_DATA_KEY) : NULL
486
 
        );
 
484
        AnimIcon *a = ANIM_ICON((w != NULL) ?
 
485
            gtk_object_get_data(GTK_OBJECT(w), ANIM_ICON_DATA_KEY) : NULL
 
486
        );
487
487
        if(a == NULL)
488
488
            return;
489
489