diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-09-29 22:09:40 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-09-29 22:09:40 +0200 |
commit | f14741dc02bebca75ea88525c8dd8115fd4f19d7 (patch) | |
tree | 6bf694068eb2c254e0d61e0c82c1881aa8e1eae5 /xchat-wdk.patch | |
parent | 6669d0f7f8efc3fbe591aaba20fe1a9340d69228 (diff) |
use GDK_DISABLE_DEPRECATED
Diffstat (limited to 'xchat-wdk.patch')
-rw-r--r-- | xchat-wdk.patch | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch index 52f472ad..16963717 100644 --- a/xchat-wdk.patch +++ b/xchat-wdk.patch @@ -1320,7 +1320,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/sexy-spell-entry.c xchat * compile-time dependency. This makes it so I don't have to hear the diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/xtext.c xchat-wdk/src/fe-gtk/xtext.c --- xchat-wdk.orig/src/fe-gtk/xtext.c 2008-08-29 11:24:17 +0000 -+++ xchat-wdk/src/fe-gtk/xtext.c 2010-09-28 14:38:39 +0000 ++++ xchat-wdk/src/fe-gtk/xtext.c 2010-09-29 20:07:37 +0000 @@ -42,7 +42,6 @@ #include <ctype.h> #include <stdlib.h> @@ -1329,6 +1329,15 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/xtext.c xchat-wdk/src/fe #include <gtk/gtkmain.h> #include <gtk/gtksignal.h> #include <gtk/gtkselection.h> +@@ -3834,7 +3833,7 @@ + PaintDesktop (hdc); + ReleaseDC (hwnd, hdc); + +- gdk_window_get_size (GTK_WIDGET (xtext)->window, &width, &height); ++ gdk_drawable_get_size (GTK_WIDGET (xtext)->window, &width, &height); + img = gdk_image_get (GTK_WIDGET (xtext)->window, 0, 0, width+128, height); + xtext->pixmap = win32_tint (xtext, img, img->width, img->height); + diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-text/fe-text.c xchat-wdk/src/fe-text/fe-text.c --- xchat-wdk.orig/src/fe-text/fe-text.c 2008-08-29 11:24:17 +0000 +++ xchat-wdk/src/fe-text/fe-text.c 2010-09-28 14:38:39 +0000 |