Commit 841a00e5 authored by daniel_e's avatar daniel_e
Browse files

(pango_context_changed): Ooops, I accidentally reversed the arguments to

Gtk::IconSize::lookup().  Fixed.
parent f5ab0082
2002-11-25 Daniel Elstner <daniel.elstner@gmx.net>
* src/filebuffer.cc (pango_context_changed): Ooops, I accidentally
reversed the arguments to Gtk::IconSize::lookup(). Fixed.
2002-11-23 Daniel Elstner <daniel.elstner@gmx.net>
* src/filetree.{cc,h} (FileTree::ScopedBlockSorting): Introduce new
......
......@@ -240,8 +240,8 @@ void FileBuffer::pango_context_changed(const Glib::RefPtr<Pango::Context>& conte
if(font_size <= 0) // urgh, fall back to some reasonable value
font_size = 10 * Pango::SCALE;
int icon_height = 0, icon_width = 0;
Gtk::IconSize::lookup(Gtk::ICON_SIZE_DIALOG, icon_height, icon_width);
int icon_width = 0, icon_height = 0;
Gtk::IconSize::lookup(Gtk::ICON_SIZE_DIALOG, icon_width, icon_height);
g_return_if_fail(icon_height > 0); // the lookup should never fail for builtin icon sizes
......
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