summaryrefslogtreecommitdiffstats
path: root/src/gui/URIEntry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/URIEntry.cpp')
-rw-r--r--src/gui/URIEntry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/URIEntry.cpp b/src/gui/URIEntry.cpp
index 9d5249e8..9de9f7ce 100644
--- a/src/gui/URIEntry.cpp
+++ b/src/gui/URIEntry.cpp
@@ -46,7 +46,7 @@ URIEntry::build_value_menu()
{
World& world = _app->world();
LilvWorld* lworld = world.lilv_world();
- Gtk::Menu* menu = new Gtk::Menu();
+ auto* menu = new Gtk::Menu();
LilvNode* owl_onDatatype = lilv_new_uri(lworld, LILV_NS_OWL "onDatatype");
LilvNode* rdf_type = lilv_new_uri(lworld, LILV_NS_RDF "type");
@@ -110,7 +110,7 @@ URIEntry::build_subclass_menu(const LilvNode* klass)
return nullptr;
}
- Gtk::Menu* menu = new Gtk::Menu();
+ auto* menu = new Gtk::Menu();
// Add "header" item for choosing this class itself
add_leaf_menu_item(menu, klass, rdfs::label(world, klass));