diff options
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/gtkextstatusbar.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gtkext/gtkextstatusbar.c b/src/gtkext/gtkextstatusbar.c index e0ce43d..c89cfe4 100644 --- a/src/gtkext/gtkextstatusbar.c +++ b/src/gtkext/gtkextstatusbar.c @@ -2,7 +2,7 @@ /* OpenIDA - Outil d'analyse de fichiers binaires * gtkextstatusbar.h - prototypes pour la barre de statut améliorée * - * Copyright (C) 2009-2010 Cyrille Bagard + * Copyright (C) 2009-2012 Cyrille Bagard * * This file is part of OpenIDA. * @@ -124,7 +124,7 @@ guint gtk_extended_status_bar_push(GtkExtStatusBar *bar, const gchar *message, g { guint result; /* Identifiant à retourner */ - gdk_threads_enter(); + //gdk_threads_enter(); result = gtk_statusbar_push(GTK_STATUSBAR(bar), bar->context, message); @@ -145,9 +145,9 @@ guint gtk_extended_status_bar_push(GtkExtStatusBar *bar, const gchar *message, g } else gtk_widget_hide(GTK_WIDGET(bar->progress)); - gdk_flush (); + //gdk_flush (); - gdk_threads_leave(); + //gdk_threads_leave(); return result; @@ -181,12 +181,12 @@ void gtk_extended_status_bar_update_activity(GtkExtStatusBar *bar, guint id, gdo g_snprintf(percent, 5, "%.0f%%", value * 100); - gdk_threads_enter(); + //gdk_threads_enter(); gtk_progress_bar_set_fraction(bar->progress, value); gtk_progress_bar_set_text(bar->progress, percent); - gdk_threads_leave(); + //gdk_threads_leave(); } @@ -210,7 +210,7 @@ void gtk_extended_status_bar_remove(GtkExtStatusBar *bar, guint id) { size_t i; /* Boucle de parcours */ - gdk_threads_enter(); + //gdk_threads_enter(); gtk_statusbar_remove(GTK_STATUSBAR(bar), bar->context, id); @@ -234,8 +234,8 @@ void gtk_extended_status_bar_remove(GtkExtStatusBar *bar, guint id) else gtk_widget_hide(GTK_WIDGET(bar->progress)); - gdk_flush (); + //gdk_flush (); - gdk_threads_leave(); + //gdk_threads_leave(); } |