Пример #1
0
static void
textFini (CompPlugin *p)
{
    freeDisplayPrivateIndex (displayPrivateIndex);
    freeDisplayPrivateIndex (functionsPrivateIndex);
    compFiniMetadata (&textMetadata);
}
Пример #2
0
static void
minFini (CompPlugin *p)
{
	freeDisplayPrivateIndex (displayPrivateIndex);

	bananaUnloadPlugin (bananaIndex);
}
Пример #3
0
static Bool
textInit (CompPlugin *p)
{
    if (!compInitPluginMetadataFromInfo (&textMetadata,
					 p->vTable->name,
					 textDisplayOptionInfo,
					 TEXT_DISPLAY_OPTION_NUM,
					 NULL, 0))
	return FALSE;

    displayPrivateIndex = allocateDisplayPrivateIndex ();
    if (displayPrivateIndex < 0)
    {
	compFiniMetadata (&textMetadata);
	return FALSE;
    }

    functionsPrivateIndex = allocateDisplayPrivateIndex ();
    if (functionsPrivateIndex < 0)
    {
	freeDisplayPrivateIndex (displayPrivateIndex);
	compFiniMetadata (&textMetadata);
	return FALSE;
    }

    compAddMetadataFromFile (&textMetadata, p->vTable->name);

    return TRUE;
}
Пример #4
0
static void
fuseFini(CompPlugin *p)
{
   fuseRemoveInode(NULL, inodes);
   freeDisplayPrivateIndex(displayPrivateIndex);
   compFiniMetadata(&fuseMetadata);
}
Пример #5
0
Файл: svg.c Проект: zmike/compiz
static void
svgFini(CompPlugin *p)
{
    freeDisplayPrivateIndex(displayPrivateIndex);
    compFiniMetadata(&svgMetadata);

    rsvg_term();
}
Пример #6
0
static void
gridFiniPlugin (CompPlugin *p)
{
#if GRID_DEBUG
    fclose(gridOut);
    gridOut = NULL;
#endif

    freeDisplayPrivateIndex(displayPrivateIndex);
}
Пример #7
0
static void
svgFini (CompPlugin *p)
{
    freeDisplayPrivateIndex (displayPrivateIndex);
    compFiniMetadata (&svgMetadata);

#if !LIBRSVG_CHECK_VERSION (2, 36, 0)
    rsvg_term ();
#endif
}
static void
NEGFiniCore (CompPlugin *p,
  	     CompCore   *c)
{
    NEG_CORE (c);

    freeDisplayPrivateIndex (displayPrivateIndex);

    UNWRAP (nc, c, objectAdd);

    free (nc);
}
static void
colorFilterFiniCore (CompPlugin *p,
		     CompCore   *c)
{
    FILTER_CORE (c);

    freeDisplayPrivateIndex (displayPrivateIndex);

    UNWRAP (fc, c, objectAdd);

    free (fc);
}
Пример #10
0
static void
decorFiniCore (CompPlugin *p,
	       CompCore   *c)
{
    DECOR_CORE (c);

    freeDisplayPrivateIndex (displayPrivateIndex);

    UNWRAP (dc, c, objectAdd);
    UNWRAP (dc, c, objectRemove);

    free (dc);
}
Пример #11
0
static void
wsnamesFini (CompPlugin *p)
{
	freeDisplayPrivateIndex (displayPrivateIndex);

	bananaUnloadPlugin (bananaIndex);

	if (core.dbusConnection != NULL)
	{
		dbus_connection_unregister_object_path (core.dbusConnection,
		                                        "/org/fusilli/wsnames");
	}
}
Пример #12
0
static void
sessionFiniCore (CompPlugin *p,
		 CompCore   *c)
{
    SessionWindowList *run, *next;

    SESSION_CORE (c);

    freeDisplayPrivateIndex (displayPrivateIndex);

    /* FIXME: see above */
    /* UNWRAP (sc, c, objectAdd); */
    UNWRAP (sc, c, sessionEvent);

    run = sc->windowList;
    while (run)
    {
	next = run->next;
	sessionFreeWindowListItem (run);
	run = next;
    }

    free (sc);
}
static void
elementsFini (CompPlugin *p)
{
	freeDisplayPrivateIndex (displayPrivateIndex);
}
Пример #14
0
static void
videoFini(CompPlugin *p)
{
   freeDisplayPrivateIndex(displayPrivateIndex);
   compFiniMetadata(&videoMetadata);
}
Пример #15
0
static void
commandsFini(CompPlugin *p)
{
   freeDisplayPrivateIndex(displayPrivateIndex);
   compFiniMetadata(&commandsMetadata);
}
Пример #16
0
static void waterFini(CompPlugin * p)
{
	freeDisplayPrivateIndex(displayPrivateIndex);
	compFiniMetadata(&waterMetadata);
}
static void
tileFini (CompPlugin * p)
{
    freeDisplayPrivateIndex (displayPrivateIndex);
}
static void
wizardFini (CompPlugin * p)
{
    if (displayPrivateIndex >= 0)
	freeDisplayPrivateIndex (displayPrivateIndex);
}
static void
cubemodelFini (CompPlugin *p)
{
    freeDisplayPrivateIndex (cubemodelDisplayPrivateIndex);
}
Пример #20
0
static void
zoomFini(CompPlugin *p)
{
   freeDisplayPrivateIndex(displayPrivateIndex);
   compFiniMetadata(&zoomMetadata);
}
Пример #21
0
static void
inotifyFini(CompPlugin *p)
{
   freeDisplayPrivateIndex (displayPrivateIndex);
   compFiniMetadata (&inotifyMetadata);
}
Пример #22
0
static void
smartputFini (CompPlugin *p)
{
    freeDisplayPrivateIndex (SmartputDisplayPrivateIndex);
}
Пример #23
0
static void
glibFini (CompPlugin *p)
{
    freeDisplayPrivateIndex (displayPrivateIndex);
    compFiniMetadata (&glibMetadata);
}
Пример #24
0
static void scaleaddonFini(CompPlugin * p)
{
	freeDisplayPrivateIndex(displayPrivateIndex);
}
Пример #25
0
static void
fadeFini(CompPlugin *p)
{
   freeDisplayPrivateIndex(displayPrivateIndex);
   compFiniMetadata(&fadeMetadata);
}
static void
titleinfoFini (CompPlugin *p)
{
    freeDisplayPrivateIndex (TitleinfoDisplayPrivateIndex);
}
static void
snowglobeFini (CompPlugin * p)
{
    if (snowglobeDisplayPrivateIndex >= 0)
        freeDisplayPrivateIndex (snowglobeDisplayPrivateIndex);
}
static void
screenSaverFini (CompPlugin *p)
{
	if (displayPrivateIndex >= 0)
	    freeDisplayPrivateIndex (displayPrivateIndex);
}
static void
pngFini (CompPlugin *p)
{
    freeDisplayPrivateIndex (displayPrivateIndex);
    compFiniMetadata (&pngMetadata);
}