+/*
+ * call-seq:
+ * glx11.window => window
+ *
+ * Returns the <code>Ecore::X::Window</code> object for <i>glx11</i>.
+ */
+static VALUE c_window_get (VALUE self)
+{
+ Ecore_X_Window w;
+
+ GET_OBJ (self, RbEcoreEvasGlX11, ee);
+
+ if (NIL_P (ee->window)) {
+ w = ecore_evas_gl_x11_window_get (ee->ee.real);
+ ee->window = TO_ECORE_X_WINDOW (self, w);
+ }
+
+ return ee->window;
+}
+