]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/entityinspector.cpp
Wrap gtkutil/nonmodal
[xonotic/netradiant.git] / radiant / entityinspector.cpp
index 42b21256aecb4bc8cce9d20542069139c31f665e..389e92fd44b166c4f038ee6282c0ba3f30d96a80 100644 (file)
@@ -160,12 +160,12 @@ typedef MemberCaller<BooleanAttribute, &BooleanAttribute::update> UpdateCaller;
 class StringAttribute : public EntityAttribute
 {
 CopiedString m_key;
-GtkEntry* m_entry;
+ui::Entry m_entry;
 NonModalEntry m_nonModal;
 public:
 StringAttribute( const char* key ) :
        m_key( key ),
-       m_entry( 0 ),
+       m_entry( nullptr ),
        m_nonModal( ApplyCaller( *this ), UpdateCaller( *this ) ){
        auto entry = ui::Entry();
        gtk_widget_show( GTK_WIDGET( entry ) );