Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsGCCache.cpp File Reference
#include <stdio.h>
#include "nsGCCache.h"
#include "nsISupportsUtils.h"
#include <gdk/gdkx.h>
#include <gdk/gdkprivate.h>
#include <X11/Xlib.h>

Go to the source code of this file.

Functions

else ReuseGC (entry, gcv, flags)
 if (clipRegion)
return gdk_gc_ref (entry->gc)

Function Documentation

return gdk_gc_ref ( entry->  gc)

Here is the caller graph for this function:

if ( clipRegion  )

Definition at line 236 of file nsGCCache.cpp.

                  {
    entry->clipRegion = gdk_region_copy(clipRegion);
    if (entry->clipRegion)
      gdk_gc_set_clip_region(entry->gc, entry->clipRegion);
    /* XXX what if it fails? */
  }
else ReuseGC ( entry  ,
gcv  ,
flags   
)