summaryrefslogtreecommitdiff
path: root/src/xsmfns.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-15 20:06:07 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-15 20:06:07 -0700
commitdde42981250a59d7374b927fafb78525c82be1eb (patch)
tree2d5aae220c8fec8b53627a05b8ca970a8893f447 /src/xsmfns.c
parent401f10cb83fdc2d4e873d5b2b086112f931e712e (diff)
downloademacs-dde42981250a59d7374b927fafb78525c82be1eb.tar.gz
* xsmfns.c (gdk_x11_set_sm_client_id) [!USE_GTK]: Don't define.
Diffstat (limited to 'src/xsmfns.c')
-rw-r--r--src/xsmfns.c2
1 files changed, 1 insertions, 1 deletions
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 <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