summaryrefslogtreecommitdiffstats
path: root/src/x11_in_gtk2.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-18 01:49:06 +0000
committerDavid Robillard <d@drobilla.net>2012-01-18 01:49:06 +0000
commit183c1fbebb64a592a04d6a094125dc877929f08a (patch)
tree7a4cf9d4f4b707f57e1a6f34fd738351144fb716 /src/x11_in_gtk2.c
parent375152a6c364baab8de9dc81cd9e3c9a61f0e982 (diff)
downloadsuil-183c1fbebb64a592a04d6a094125dc877929f08a.tar.gz
suil-183c1fbebb64a592a04d6a094125dc877929f08a.tar.bz2
suil-183c1fbebb64a592a04d6a094125dc877929f08a.zip
Lint.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3962 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/x11_in_gtk2.c')
-rw-r--r--src/x11_in_gtk2.c13
1 files changed, 1 insertions, 12 deletions
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 <string.h>
#include <gtk/gtk.h>
-//#include <gdk/gdkx.h>
-//#include <X11/Xlib.h>
-#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));
}