...
 
Commits (5)
GtkD ChangeLog
==============
Release: 3.8.5
--------------
-Set the correct version number.
Release: 3.8.4
--------------
-Fix a memory leak when signals are used on a widget in a container. #254
-Update the GdkPixbuf Lookup file for the canges in 2.38. #250
-Add a get template for gobject.Value.
-Don't hardcode pkg-config #249
-All function names and parameters that are D keywords are now post fixed with an underscore.
-This is instead of the more random substitutes used previously.
-Fix an out-of-bounds write in toStringzArray #248
Release: 3.8.3
--------------
-Make sure we only use one toggle reference per GObject.
......
......@@ -76,7 +76,7 @@ endif
#######################################################################
GTKD_VERSION=3.8.3
GTKD_VERSION=3.8.5
SO_VERSION=0
MAJOR = $(word 1,$(subst ., ,$(GTKD_VERSION)))
......
......@@ -303,7 +303,11 @@ public class ObjectG
{
enum TOGGLE_REF_FLAG = 0x1;
return (g_datalist_get_flags(&gObject.qdata) & TOGGLE_REF_FLAG) != 0;
if ( (g_datalist_get_flags(&gObject.qdata) & TOGGLE_REF_FLAG) != 0 )
//TODO: Assumes we always have the gObject data set if the toggleRef is connected to this instance.
return (g_object_get_data(gObject, cast(char*)"GObject") is cast(void*)this);
else
return false;
}
public void removeGcRoot()
......
......@@ -597,7 +597,11 @@ code: start
{
enum TOGGLE_REF_FLAG = 0x1;
return (g_datalist_get_flags(&gObject.qdata) & TOGGLE_REF_FLAG) != 0;
if ( (g_datalist_get_flags(&gObject.qdata) & TOGGLE_REF_FLAG) != 0 )
//TODO: Assumes we always have the gObject data set if the toggleRef is connected to this instance.
return (g_object_get_data(gObject, cast(char*)"GObject") is cast(void*)this);
else
return false;
}
public void removeGcRoot()
......