summaryrefslogtreecommitdiff
path: root/client/gtk.c
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@slbdata.se>2011-06-22 21:31:01 +0200
committerSamuel Lidén Borell <samuel@slbdata.se>2011-06-22 21:31:01 +0200
commit3852c1b4e9639c0cc27a4c79f2ea48f25fc1681e (patch)
tree181fe573bddb2be07b666874890265052e242160 /client/gtk.c
parentf3615a94246f0f93a404f3c7b2a691b9a3f2a8fd (diff)
downloadfribid-3852c1b4e9639c0cc27a4c79f2ea48f25fc1681e.tar.gz
fribid-3852c1b4e9639c0cc27a4c79f2ea48f25fc1681e.tar.bz2
fribid-3852c1b4e9639c0cc27a4c79f2ea48f25fc1681e.zip
Remove compatiblity with GTK <2.14
Most likely this didn't work because we use GtkInfoBar etc. which was added in 2.18
Diffstat (limited to 'client/gtk.c')
-rw-r--r--client/gtk.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/client/gtk.c b/client/gtk.c
index dc6c3e6..025f360 100644
--- a/client/gtk.c
+++ b/client/gtk.c
@@ -143,11 +143,7 @@ static void makeDialogTransient(GtkDialog *dialog, unsigned long parentWindowId)
GdkWindow *parent = gdk_window_foreign_new((GdkNativeWindow)parentWindowId);
if (parent != NULL) {
gtk_widget_realize(GTK_WIDGET(dialog));
-#if GTK_CHECK_VERSION(2, 14, 0)
GdkWindow *ourWindow = gtk_widget_get_window(GTK_WIDGET(dialog));
-#else
- GdkWindow *ourWindow = GTK_WIDGET(dialog)->window;
-#endif
if (ourWindow != NULL) {
gdk_window_set_transient_for(ourWindow, parent);
transientOk = true;