diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-11-27 21:44:44 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-11-27 21:44:44 (GMT) |
commit | b2b43b80eb207fabc8eb5e08798f120f0dd5541e (patch) | |
tree | ee6f45a7db857f4d59a191f89a6a51274481b5c7 /src/gtkext | |
parent | 6b1a70c16f83a926f7b1f1fb2af5d6a2e017737b (diff) |
Protected other data access using locks.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@611 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/gtkextstatusbar.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gtkext/gtkextstatusbar.c b/src/gtkext/gtkextstatusbar.c index 62d4950..e936866 100644 --- a/src/gtkext/gtkextstatusbar.c +++ b/src/gtkext/gtkextstatusbar.c @@ -537,6 +537,8 @@ status_blob_info *init_progessive_status(GtkExtStatusBar *bar, const char *messa { status_blob_info *result; /* Information à retourner */ + return NULL; + result = (status_blob_info *)calloc(1, sizeof(status_blob_info)); if (bar != NULL) @@ -568,6 +570,7 @@ status_blob_info *init_progessive_status(GtkExtStatusBar *bar, const char *messa void fini_progessive_status(status_blob_info *info) { + return; gtk_extended_status_bar_remove(info->bar, info->id); if (info->bar != NULL) @@ -592,6 +595,7 @@ void fini_progessive_status(status_blob_info *info) double get_current_progessive_status(const status_blob_info *info) { + return 0.0; return info->current; } @@ -612,6 +616,7 @@ double get_current_progessive_status(const status_blob_info *info) void inc_progessive_status(status_blob_info *info, double inc) { + return; assert((info->current + inc) < info->max); info->current += inc; |