From 7802477ddd3e122c079531c93ab40406dbdf0a3c Mon Sep 17 00:00:00 2001 From: Curtis Gedak Date: Mon, 20 Sep 2010 13:55:42 -0600 Subject: [PATCH] Fix crash when scanning devices Change string initialization to use direct assignment instead of a method in the GParted_Core method initialization. Closes Ubuntu launchpad bug 609477 - gpartedbin crashed with signal 5 in Glib::exception_handlers_invoke() --- src/GParted_Core.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index 9342a2a..4f81fde 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -63,7 +63,7 @@ GParted_Core::GParted_Core() lp_disk = NULL ; lp_partition = NULL ; p_filesystem = NULL ; - set_thread_status_message("") ; + thread_status_message = "" ; ped_exception_set_handler( ped_exception_handler ) ; -- 1.5.4.3