diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-08-30 08:46:53 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-08-30 08:48:03 -0400 |
commit | a4ecbd076f82809d6b95c59911b157364f538c8c (patch) | |
tree | f9b06c83c6c82293d1471ca6169908ce455b0224 | |
parent | ef25261edddf8553ce41bfb59bc9d563a811fc23 (diff) | |
download | nautilus-a4ecbd076f82809d6b95c59911b157364f538c8c.tar.gz |
Remove unnecessary gdk_threads_enter/leave calls
Since we don't ever call gdk_threads_init()
-rw-r--r-- | eel/eel-canvas.c | 4 | ||||
-rw-r--r-- | libnautilus-private/nautilus-thumbnails.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index bc643531d..74701568b 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -3320,16 +3320,12 @@ idle_handler (gpointer data) { EelCanvas *canvas; - gdk_threads_enter (); - canvas = EEL_CANVAS (data); do_update (canvas); /* Reset idle id */ canvas->idle_id = 0; - gdk_threads_leave (); - return FALSE; } diff --git a/libnautilus-private/nautilus-thumbnails.c b/libnautilus-private/nautilus-thumbnails.c index c4c43e0c0..b58de57cc 100644 --- a/libnautilus-private/nautilus-thumbnails.c +++ b/libnautilus-private/nautilus-thumbnails.c @@ -317,8 +317,6 @@ thumbnail_thread_notify_file_changed (gpointer image_uri) { NautilusFile *file; - gdk_threads_enter (); - file = nautilus_file_get_by_uri ((char *) image_uri); #ifdef DEBUG_THUMBNAILS g_message ("(Thumbnail Thread) Notifying file changed file:%p uri: %s\n", file, (char*) image_uri); @@ -333,8 +331,6 @@ thumbnail_thread_notify_file_changed (gpointer image_uri) } g_free (image_uri); - gdk_threads_leave (); - return FALSE; } |