1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00

Remove more code mindlessly copied from NS

* src/pgtkfns.c (Fx_open_connection):
* src/pgtkselect.c (nxatoms_of_pgtkselect):
* src/pgtkselect.h:
* src/pgtkterm.h: Delete `nxatoms_of_pgtkselect'.
This commit is contained in:
Po Lu 2022-04-07 11:44:59 +08:00
parent 1f4a0828cc
commit c6ea0772ec
4 changed files with 1 additions and 13 deletions

View file

@ -2212,7 +2212,6 @@ terminate Emacs if we can't open the connection. */)
CHECK_STRING (display);
nxatoms_of_pgtkselect ();
dpyinfo = pgtk_term_init (display, SSDATA (Vx_resource_name));
if (dpyinfo == 0)
{

View file

@ -492,12 +492,6 @@ frame's display, or the first available display. */)
return Qnil;
}
void
nxatoms_of_pgtkselect (void)
{
}
void
syms_of_pgtkselect (void)
{

View file

@ -26,8 +26,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include <gtk/gtk.h>
extern void pgtk_selection_init (void);
extern void pgtk_selection_lost (GtkWidget * widget,
GdkEventSelection * event,
gpointer user_data);
extern void pgtk_selection_lost (GtkWidget *, GdkEventSelection *, gpointer);
#endif /* HAVE_PGTK */

View file

@ -611,9 +611,6 @@ extern void syms_of_pgtkmenu (void);
extern void syms_of_pgtkselect (void);
extern void syms_of_pgtkim (void);
/* Implemented in pgtkselect. */
extern void nxatoms_of_pgtkselect (void);
/* Initialization and marking implemented in pgtkterm.c */
extern void init_pgtkterm (void);
extern void mark_pgtkterm (void);