mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-12 09:36:33 +01:00
upgrade to glibmm 2.16
git-svn-id: svn://localhost/ardour2/branches/3.0@5303 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5b97b13766
commit
e916ac2821
211 changed files with 26478 additions and 4168 deletions
|
|
@ -10,23 +10,21 @@
|
|||
/* Copyright (C) 2002 The gtkmm Development Team
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free
|
||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <glib/gdir.h>
|
||||
#include <glib/gfileutils.h>
|
||||
#include <glib/gstrfuncs.h>
|
||||
#include <glib.h>
|
||||
#include <glibmm/utility.h>
|
||||
|
||||
|
||||
|
|
@ -58,7 +56,7 @@ Dir::~Dir()
|
|||
std::string Dir::read_name()
|
||||
{
|
||||
const char *const name = g_dir_read_name(gobject_);
|
||||
return (name) ? std::string(name) : std::string();
|
||||
return Glib::convert_const_gchar_ptr_to_stdstring(name);
|
||||
}
|
||||
|
||||
void Dir::rewind()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue