Removed unnecessary gdk dependency from registryd.
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Sun, 2 Dec 2001 14:25:52 +0000 (14:25 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Sun, 2 Dec 2001 14:25:52 +0000 (14:25 +0000)
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@128 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
configure.in
registryd/registry-main.c
registryd/registryd.c

index 1ce4105..7f8f671 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,11 @@
        Removed obsolete X event loop for passive keygrabs (which now
        lives in libspi).
 
+       * registryd/registryd.c:
+       Removed unnecessary call to gdk_init() [cruft]. This also allows
+       removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
+       * configure.in.
+
 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
 
        * docs/reference/cspi:
index 501cd19..70424f7 100644 (file)
@@ -87,7 +87,7 @@ PKG_CHECK_MODULES(LIBSPI, bonobo-activation-2.0 >= 0.9.1 libbonobo-2.0 >= 1.97.0
 AC_SUBST(LIBSPI_LIBS)
 AC_SUBST(LIBSPI_CFLAGS)
 
-PKG_CHECK_MODULES(REGISTRYD, bonobo-activation-2.0 >= 0.9.1 libbonobo-2.0 >= 1.97.0 atk >= 0.2 gdk-2.0)
+PKG_CHECK_MODULES(REGISTRYD, bonobo-activation-2.0 >= 0.9.1 libbonobo-2.0 >= 1.97.0 atk >= 0.2)
 AC_SUBST(REGISTRYD_LIBS)
 AC_SUBST(REGISTRYD_CFLAGS)
 
index 5c92be2..1089017 100644 (file)
@@ -53,11 +53,7 @@ main (int argc,
         fprintf (stderr, "SpiRegistry Message: SpiRegistry daemon is running.\n");
 #endif
   
-        gdk_init(&argc, &argv);
         g_timeout_add_full (G_PRIORITY_HIGH_IDLE, 200, registry->kbd_event_hook, registry, NULL);
-/*     keyevent_source =
-               g_source_new (registry->kbd_event_hook, sizeof (GSourceFunc));
-               g_source_attach (keyevent_source, g_main_context_default());*/
         bonobo_main ();
 
         return 0;
index 5c92be2..1089017 100644 (file)
@@ -53,11 +53,7 @@ main (int argc,
         fprintf (stderr, "SpiRegistry Message: SpiRegistry daemon is running.\n");
 #endif
   
-        gdk_init(&argc, &argv);
         g_timeout_add_full (G_PRIORITY_HIGH_IDLE, 200, registry->kbd_event_hook, registry, NULL);
-/*     keyevent_source =
-               g_source_new (registry->kbd_event_hook, sizeof (GSourceFunc));
-               g_source_attach (keyevent_source, g_main_context_default());*/
         bonobo_main ();
 
         return 0;