]> git.eshelyaron.com Git - emacs.git/commitdiff
* xsmfns.c (gdk_x11_set_sm_client_id) [!USE_GTK]: Don't define.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2011 03:06:07 +0000 (20:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 16 Apr 2011 03:06:07 +0000 (20:06 -0700)
src/ChangeLog
src/xsmfns.c

index 5c48e1926f892e8199fe7250b1e0893ee0ab11a8..325c6ee8434c5466796f09ea2d1c47144bcf240c 100644 (file)
@@ -2,6 +2,7 @@
 
        * xsmfns.c (create_client_leader_window): Rename shadowing arg.
        Remove unused var.
+       (gdk_x11_set_sm_client_id) [!USE_GTK]: Don't define.
 
        * xrdb.c (x_load_resources) [!USE_MOTIF]: Omit unused local.
 
index 4a5d80b372a4168c586a86b61545708099668c89..c199036587f948e5d58aeaf7edf15c0cf7832090 100644 (file)
@@ -41,7 +41,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include "process.h"
 #include "keyboard.h"
 
-#ifndef HAVE_GTK3
+#if defined USE_GTK && !defined HAVE_GTK3
 #define gdk_x11_set_sm_client_id(w) gdk_set_sm_client_id (w)
 #endif