experimental new callbacks, totally standards compliant, faster, smaller
[dana/urxvt.git] / src / rxvttoolkit.h
index cec0d37..e64a9da 100644 (file)
@@ -258,11 +258,6 @@ struct rxvt_display : refcounted {
 
 #ifdef USE_XIM
 struct im_watcher : rxvt_watcher, callback<void (void)> {
-  template<class O, class M>
-  im_watcher (O object, M method)
-  : callback<void (void)> (object, method)
-  { }
-
   void start (rxvt_display *display)
   {
     display->reg (this);
@@ -278,11 +273,6 @@ struct im_watcher : rxvt_watcher, callback<void (void)> {
 struct xevent_watcher : rxvt_watcher, callback<void (XEvent &)> {
   Window window;
 
-  template<class O, class M>
-  xevent_watcher (O object, M method)
-  : callback<void (XEvent &)> (object, method)
-  { }
-
   void start (rxvt_display *display, Window window)
   {
     this->window = window;