summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Østergaard <oe.nick@gmail.com>2021-01-05 21:31:46 +0100
committerNick Østergaard <oe.nick@gmail.com>2021-01-05 21:34:58 +0100
commitc86ee0e331e07a4ab16790517899bbbf1f954232 (patch)
tree9c1252882d22b9e8f88721a8640fb26fe80ce9ee
parent2df787cc0c02743254d5e6c04a38da82f1e3d9f6 (diff)
downloaddistcc-git-c86ee0e331e07a4ab16790517899bbbf1f954232.tar.gz
Get rid of very "retro" and dead code
At least that is what the experts in #gtk are telling me. "Unless you want to support libgnome, which was deprecated long before GNOME3 was released: yes, you can drop it."
-rw-r--r--src/mon-gnome.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mon-gnome.c b/src/mon-gnome.c
index 6360211..9a334b5 100644
--- a/src/mon-gnome.c
+++ b/src/mon-gnome.c
@@ -630,15 +630,7 @@ int main(int argc, char **argv)
* compilation */
nice(5);
-#if defined(WITH_GNOME)
- gnome_program_init ("distccmon-gnome", PACKAGE_VERSION,
- LIBGNOMEUI_MODULE,
- argc, argv, NULL);
-#elif defined(WITH_GTK)
gtk_init (&argc, &argv);
-#else
-# error This program must be built with either WITH_GTK or WITH_GNOME
-#endif
/* do our own initialization */
dcc_create_state_colors();