X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fcommands.cpp;h=6b2fe8ee88c968a7972f6ae65dc9134595d2edf0;hb=1227d1b7ffbce0b50bf2efbfcb2dedd5a60a5761;hp=b3def079e8642c4fee4c78b840d33b47d869a9f0;hpb=465884e260039bad1a333c51b6013edd361a63cd;p=xonotic%2Fnetradiant.git diff --git a/radiant/commands.cpp b/radiant/commands.cpp index b3def079..6b2fe8ee 100644 --- a/radiant/commands.cpp +++ b/radiant/commands.cpp @@ -460,7 +460,7 @@ public: GlobalShortcuts_foreach( visitor ); } - g_object_unref( G_OBJECT( store ) ); + store.unref(); } }