diff --git a/src/app/browser/main/tab/page/content/text/gemini.cpp b/src/app/browser/main/tab/page/content/text/gemini.cpp index b4c1a530..b5547b65 100644 --- a/src/app/browser/main/tab/page/content/text/gemini.cpp +++ b/src/app/browser/main/tab/page/content/text/gemini.cpp @@ -13,7 +13,9 @@ Gemini::Gemini( ); auto label = Gtk::make_managed( // @TODO separated file? - GEMTEXT + to_pango( + GEMTEXT + ) ); // Init widget @@ -36,4 +38,10 @@ Gemini::Gemini( set_child( * label ); +} + +Glib::ustring Gemini::to_pango( + const Glib::ustring & GEMTEXT +) { + return GEMTEXT; // @TODO } \ No newline at end of file diff --git a/src/app/browser/main/tab/page/content/text/gemini.hpp b/src/app/browser/main/tab/page/content/text/gemini.hpp index 767c734f..3c9551c9 100644 --- a/src/app/browser/main/tab/page/content/text/gemini.hpp +++ b/src/app/browser/main/tab/page/content/text/gemini.hpp @@ -15,6 +15,10 @@ namespace app::browser::main::tab::page::content::text Gemini( const Glib::ustring & GEMTEXT ); + + static Glib::ustring to_pango( + const Glib::ustring & GEMTEXT + ); }; }