From c2ff0b2158a151e4bfdccdf5dd96a22c5ddd95b6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 2 Mar 2012 02:16:16 -0600 Subject: Rename additional global functions and variables for tqt3 --- knotes/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'knotes/main.cpp') diff --git a/knotes/main.cpp b/knotes/main.cpp index bf38e4c71..a14d52acf 100644 --- a/knotes/main.cpp +++ b/knotes/main.cpp @@ -43,11 +43,11 @@ void remove_sm_from_client_leader() Atom atoms[ 2 ]; char *atom_names[ 2 ] = { (char*)"WM_CLIENT_LEADER", (char*)"SM_CLIENT_ID" }; - XInternAtoms( qt_xdisplay(), atom_names, 2, False, atoms ); + XInternAtoms( tqt_xdisplay(), atom_names, 2, False, atoms ); TQWidget w; KXErrorHandler handler; // ignore X errors - status = XGetWindowProperty( qt_xdisplay(), w.winId(), atoms[ 0 ], 0, 10000, + status = XGetWindowProperty( tqt_xdisplay(), w.winId(), atoms[ 0 ], 0, 10000, FALSE, XA_WINDOW, &type, &format, &nitems, &extra, &data ); @@ -56,7 +56,7 @@ void remove_sm_from_client_leader() if (data && nitems > 0) { Window leader = *((Window*) data); - XDeleteProperty( qt_xdisplay(), leader, atoms[ 1 ] ); + XDeleteProperty( tqt_xdisplay(), leader, atoms[ 1 ] ); } XFree(data); } -- cgit v1.2.1