]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkwindowimpl.c
GdkWindowX11: the root window is not a toplevel
[~andy/gtk] / gdk / gdkwindowimpl.c
index 5658373b11db63f4c51cd544a85ef1843a981f86..6727c9fcad24dd2cd2b583f2500135705e05fd04 100644 (file)
@@ -12,9 +12,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
 #include "gdkinternals.h"
 
 
-typedef GdkWindowImplIface GdkWindowImplInterface;
-G_DEFINE_INTERFACE (GdkWindowImpl, gdk_window_impl, G_TYPE_OBJECT);
+G_DEFINE_TYPE (GdkWindowImpl, gdk_window_impl, G_TYPE_OBJECT);
 
+static gboolean
+gdk_window_impl_beep (GdkWindow *window)
+{
+  /* FALSE means windows can't beep, so the display will be
+   * made to beep instead. */
+  return FALSE;
+}
+
+static void
+gdk_window_impl_class_init (GdkWindowImplClass *impl_class)
+{
+  impl_class->beep = gdk_window_impl_beep;
+}
 
 static void
-gdk_window_impl_default_init (GdkWindowImplInterface *iface)
+gdk_window_impl_init (GdkWindowImpl *impl)
 {
 }