From 183c1fbebb64a592a04d6a094125dc877929f08a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 18 Jan 2012 01:49:06 +0000 Subject: Lint. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3962 a436a847-0d15-0410-975c-d299462d15a1 --- src/x11_in_gtk2.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/x11_in_gtk2.c') diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c index 22f39fc..0fae7a5 100644 --- a/src/x11_in_gtk2.c +++ b/src/x11_in_gtk2.c @@ -17,10 +17,8 @@ #include #include -//#include -//#include -#include "suil_internal.h" +#include "./suil_internal.h" #define SUIL_TYPE_X11_WRAPPER (suil_x11_wrapper_get_type()) #define SUIL_X11_WRAPPER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), SUIL_TYPE_X11_WRAPPER, SuilX11Wrapper)) @@ -69,15 +67,6 @@ suil_x11_wrapper_realize(GtkWidget* w, gpointer data) SuilX11Wrapper* const wrap = SUIL_X11_WRAPPER(w); GtkSocket* const socket = GTK_SOCKET(w); - /* - GdkWindow* wrap_win = GTK_WIDGET(wrap)->window; - Display* display = GDK_WINDOW_XDISPLAY(wrap_win); - Window win = wrap->id; - XWindowAttributes attr; - XGetWindowAttributes(display, win, &attr); - printf("WIDTH: %d HEIGHT: %d\n", attr.width, attr.height); - */ - gtk_socket_add_id(socket, gtk_plug_get_id(wrap->plug)); gtk_widget_show_all(GTK_WIDGET(wrap->plug)); } -- cgit v1.2.1