[Goodies-dev] [Goodies-commits] r1753 - in verve-plugin/trunk: . panel-plugin
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Tue Jul 11 20:04:18 CEST 2006
Jannis Pohlmann wrote:
> Modified: verve-plugin/trunk/panel-plugin/verve-plugin.c
> ===================================================================
> --- verve-plugin/trunk/panel-plugin/verve-plugin.c 2006-07-11 14:37:30 UTC (rev 1752)
> +++ verve-plugin/trunk/panel-plugin/verve-plugin.c 2006-07-11 15:17:52 UTC (rev 1753)
> @@ -79,10 +79,10 @@
> void
> verve_plugin_load_completion (VerveEnv* env, gpointer user_data)
> {
> + gdk_threads_enter ();
> +
> VervePlugin *verve = (VervePlugin*) user_data;
>
> - g_debug ("Receiving load-binaries signal\n");
> -
> verve->completion = g_completion_new (NULL);
>
> /* Load command history */
> @@ -91,6 +91,8 @@
> /* Load linux binaries from PATH */
> GList *binaries = verve_env_get_path_binaries (env);
>
> + g_debug ("Receiving load-binaries signal\n");
> +
> /* Add command history to completion */
> if (G_LIKELY (history != NULL))
> g_completion_add_items (verve->completion, history);
> @@ -98,6 +100,8 @@
> /* Add binaries to completion list */
> if (G_LIKELY (binaries != NULL))
> g_completion_add_items (verve->completion, binaries);
> +
> + gdk_threads_leave ();
> }
Err, no, that doesn't change anything. Please read the GDK threads
documentation.
Benedikt
More information about the Goodies-dev
mailing list