Commit de5298f9 authored by Elliot Lee's avatar Elliot Lee

Only build im-xim if USE_X11 is enabled s/strcpy/memcpy/ to save a few



	* modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled
	* gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds.
parent 2e39ad6a
2000-11-28 Elliot Lee <sopwith@redhat.com>
* gdk/gdkregion-generic.c: Zap warning.
* modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled
* gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds.
2000-11-28 Alexander Larsson <alla@lysator.liu.se>
......
2000-11-28 Elliot Lee <sopwith@redhat.com>
* gdk/gdkregion-generic.c: Zap warning.
* modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled
* gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds.
2000-11-28 Alexander Larsson <alla@lysator.liu.se>
......
2000-11-28 Elliot Lee <sopwith@redhat.com>
* gdk/gdkregion-generic.c: Zap warning.
* modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled
* gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds.
2000-11-28 Alexander Larsson <alla@lysator.liu.se>
......
2000-11-28 Elliot Lee <sopwith@redhat.com>
* gdk/gdkregion-generic.c: Zap warning.
* modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled
* gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds.
2000-11-28 Alexander Larsson <alla@lysator.liu.se>
......
2000-11-28 Elliot Lee <sopwith@redhat.com>
* gdk/gdkregion-generic.c: Zap warning.
* modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled
* gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds.
2000-11-28 Alexander Larsson <alla@lysator.liu.se>
......
2000-11-28 Elliot Lee <sopwith@redhat.com>
* gdk/gdkregion-generic.c: Zap warning.
* modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled
* gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds.
2000-11-28 Alexander Larsson <alla@lysator.liu.se>
......
2000-11-28 Elliot Lee <sopwith@redhat.com>
* gdk/gdkregion-generic.c: Zap warning.
* modules/input/Makefile.am: Only build im-xim if USE_X11 is enabled
* gtk/gtkrc.c: s/strcpy/memcpy/ to save a few nanoseconds.
2000-11-28 Alexander Larsson <alla@lysator.liu.se>
......
......@@ -563,7 +563,7 @@ gtk_rc_get_default_files (void)
if (only_digit)
{
strcpy (retval, "iso");
memcpy (retval, "iso", 4);
wp = retval + 3;
}
else
......
......@@ -33,8 +33,15 @@ LDADDS = @STRIP_BEGIN@ \
@STRIP_END@
moduledir = $(libdir)/gtk-2.0/$(GTK_VERSION)/immodules
module_LTLIBRARIES = im-cyrillic-translit.la im-xim.la im-viqr.la im-thai-broken.la \
im-inuktitut.la
im_xim_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module
im_xim_la_SOURCES = \
gtkimcontextxim.c \
gtkimcontextxim.h \
imxim.c
if USE_X11
IM_XIM_MODULE=im-xim.la
endif
im_cyrillic_translit_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module
im_cyrillic_translit_la_SOURCES = imcyrillic-translit.c
......@@ -48,10 +55,5 @@ im_viqr_la_SOURCES = imviqr.c
im_inuktitut_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module
im_inuktitut_la_SOURCES = iminuktitut.c
im_xim_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module
im_xim_la_SOURCES = \
gtkimcontextxim.c \
gtkimcontextxim.h \
imxim.c
module_LTLIBRARIES = im-cyrillic-translit.la $(IM_XIM_MODULE) im-viqr.la im-thai-broken.la \
im-inuktitut.la
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment