From dde42981250a59d7374b927fafb78525c82be1eb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 15 Apr 2011 20:06:07 -0700 Subject: [PATCH] * xsmfns.c (gdk_x11_set_sm_client_id) [!USE_GTK]: Don't define. --- src/ChangeLog | 1 + src/xsmfns.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5c48e1926f8..325c6ee8434 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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. diff --git a/src/xsmfns.c b/src/xsmfns.c index 4a5d80b372a..c199036587f 100644 --- a/src/xsmfns.c +++ b/src/xsmfns.c @@ -41,7 +41,7 @@ along with GNU Emacs. If not, see . */ #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 -- 2.39.2