diff --git a/pan/gui/notify-source.cc b/pan/gui/notify-source.cc index 84dda0a..d431eee 100644 --- a/pan/gui/notify-source.cc +++ b/pan/gui/notify-source.cc @@ -9,7 +9,7 @@ #include #include "notify-source.h" -using namepsace pan; +using namespace pan; namespace { @@ -39,7 +39,7 @@ namespace return ptr ? true : false; } - operator =( char *txt ) + gtext operator= ( char *txt ) { if ( ptr ) g_free( ptr ); @@ -129,7 +129,7 @@ NotifySource* pan::notify_source_new( const std::string &path ) nzb = g_utf8_casefold( ".nzb", 4 ); //does path exist? - if ( !g_file_test ( path.c_str(), G_FILE_TEST_IS_DIR ) + if ( !g_file_test ( path.c_str(), G_FILE_TEST_IS_DIR )) return NULL; NotifySource *src = static_cast ( g_source_new ( &funcs, sizeof( NotifySource ) ) );