summaryrefslogtreecommitdiff
blob: 49918b62146ac7bfe595dd2505fa8850a4c68588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
--- lucidlife-0.9.2/configure.ac
+++ lucidlife-0.9.2/configure.ac
@@ -23,7 +23,7 @@
 AC_SUBST(CFLAGS)
 AC_SUBST(LDFLAGS)
 
-GNOME_MODULES="[gtk+-2.0 >= 2.6.0 gnome-vfs-2.0 >= 2.0.0]"
+GNOME_MODULES="[gtk+-2.0 >= 2.6.0]"
 PKG_CHECK_MODULES(GNOME, $GNOME_MODULES)
 AC_SUBST(GNOME_CFLAGS)
 AC_SUBST(GNOME_LIBS)
--- lucidlife-0.9.2/src/lucidlife.c
+++ lucidlife-0.9.2/src/lucidlife.c
@@ -35,8 +35,6 @@
 
 #include <gtk/gtk.h>
 #include <glib.h>
-#include <libgnomevfs/gnome-vfs-init.h>
-#include <libgnomevfs/gnome-vfs-utils.h>
 
 #include <libintl.h>
 #define _(String) gettext (String)
@@ -418,7 +416,6 @@
 	state_from_config();
 	load_recent_files_list();
 
-	gnome_vfs_init();
 	gtk_init(&argc, &argv);
 	init_gui();
 
@@ -445,8 +442,6 @@
 
 	main_loop();
 
-	gnome_vfs_shutdown();
-
 	return 0;
 }
 
@@ -1635,7 +1630,7 @@
 
 void activate_url(GtkAboutDialog *about, const gchar *url, gpointer data)
 {
-	gnome_vfs_url_show (url);
+	gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL );
 }
 
 /*** Bound Function Helpers ***/
@@ -1859,7 +1856,7 @@
 	char*  url;
 
 	url = dsprintf("file://%s/%s", DOCDIR, filename);
-	gnome_vfs_url_show(url);
+	gtk_show_uri (NULL, url, GDK_CURRENT_TIME, NULL );
 	free(url);
 }
 
--- lucidlife-0.9.2/lucidlife.desktop.in
+++ lucidlife-0.9.2/lucidlife.desktop.in
@@ -2,8 +2,7 @@
 Name=LucidLife
 Comment=A user-friendly version of Conway's game of life
 Exec=lucidlife
-Icon=lucidlife.png
+Icon=lucidlife
 Terminal=false
 Type=Application
-Categories=GNOME;Application;Game;
-Encoding=UTF-8
+Categories=GNOME;GTK;Game;