* 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 "config.h"
+
#include "gdkwindowimpl.h"
+
#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)
{
}