~helene-verhaeghe27/cairo-dock-core/bugfix

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-themes-manager.c

  • Committer: Fabrice Rey
  • Date: 2014-08-17 22:46:04 UTC
  • Revision ID: fabounet03@gmail.com-20140817224604-4172jkdcp9z0ljrq
renamed CairoDockTask into GldiTask -> that's a good candidate for a release :-)

Show diffs side-by-side

added added

removed removed

Lines of Context:
711
711
        g_free (pSharedMemory[0]);
712
712
        g_free (pSharedMemory);
713
713
}
714
 
CairoDockTask *cairo_dock_import_theme_async (const gchar *cThemeName, gboolean bLoadBehavior, gboolean bLoadLaunchers, GFunc pCallback, gpointer data)
 
714
GldiTask *cairo_dock_import_theme_async (const gchar *cThemeName, gboolean bLoadBehavior, gboolean bLoadLaunchers, GFunc pCallback, gpointer data)
715
715
{
716
716
        gpointer *pSharedMemory = g_new0 (gpointer, 5);
717
717
        pSharedMemory[0] = g_strdup (cThemeName);
719
719
        pSharedMemory[2] = GINT_TO_POINTER (bLoadLaunchers);
720
720
        pSharedMemory[3] = pCallback;
721
721
        pSharedMemory[4] = data;
722
 
        CairoDockTask *pTask = cairo_dock_new_task_full (0, (CairoDockGetDataAsyncFunc) _import_theme, (CairoDockUpdateSyncFunc) _finish_import, (GFreeFunc) _discard_import, pSharedMemory);
723
 
        cairo_dock_launch_task (pTask);
 
722
        GldiTask *pTask = gldi_task_new_full (0, (GldiGetDataAsyncFunc) _import_theme, (GldiUpdateSyncFunc) _finish_import, (GFreeFunc) _discard_import, pSharedMemory);
 
723
        gldi_task_launch (pTask);
724
724
        return pTask;
725
725
}
726
726