Commit 7c02c534 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

:filetree_columns): Remove the G_GNUC_CONST attribute since in this

* src/filetreeprivate.h (FileTreePrivate::filetree_columns):
Remove the G_GNUC_CONST attribute since in this function's case
it doesn't gain us anything anyway.

* src/translation.h (translate): Use G_GNUC_PURE rather than
G_GNUC_CONST because the function depends on global memory.
parent a5167b2b
2004-05-30 Daniel Elstner <daniel.elstner@gmx.net>
* src/filetreeprivate.h (FileTreePrivate::filetree_columns):
Remove the G_GNUC_CONST attribute since in this function's case
it doesn't gain us anything anyway.
* src/translation.h (translate): Use G_GNUC_PURE rather than
G_GNUC_CONST because the function depends on global memory.
2004-05-30 Daniel Elstner <daniel.elstner@gmx.net>
* src/pcreshell.cc (Pattern::match): Use the symbolic constant
......
......@@ -54,7 +54,7 @@ struct FileTreeColumns : public Gtk::TreeModel::ColumnRecord
FileTreeColumns() { add(filename); add(collatekey); add(matchcount); add(fileinfo); }
};
const FileTreeColumns& filetree_columns() G_GNUC_CONST;
const FileTreeColumns& filetree_columns();
inline
FileInfoPtr get_fileinfo_from_iter(const Gtk::TreeModel::iterator& iter)
......
......@@ -35,7 +35,7 @@ namespace Util
{
void initialize_gettext(const char* domain, const char* localedir);
const char* translate(const char* msgid) G_GNUC_CONST;
const char* translate(const char* msgid) G_GNUC_PURE;
Glib::ustring compose(const Glib::ustring& format, const Glib::ustring& arg1);
Glib::ustring compose(const Glib::ustring& format, const Glib::ustring& arg1,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment