Commit dfaef8ed authored by's avatar

[GTK] Implement WebCore::imageTitle

git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 06f236cb
2009-05-05 Holger Hans Peter Freyther <>
Reviewed by Xan Lopez.
Implement WebCore::imageTitle for Gtk+.
* platform/gtk/LocalizedStringsGtk.cpp:
2009-05-05 Oliver Hunt <>
Reviewed by Gavin Barraclough.
......@@ -30,6 +30,9 @@
#include "config.h"
#include "LocalizedStrings.h"
#include "CString.h"
#include "GOwnPtr.h"
#include "IntSize.h"
#include "NotImplemented.h"
#include "PlatformString.h"
......@@ -335,8 +338,11 @@ String unknownFileSizeText()
String imageTitle(const String& filename, const IntSize& size)
return String();
GOwnPtr<gchar> string(g_strdup_printf(C_("Title string for images", "%s (%dx%d pixels)"),
size.width(), size.height()));
return String::fromUTF8(string.get());
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