File gtk-vector-screenshot-linkfix.diff of Package gtk-vector-screenshot
31
1
--- a/take-vector-screenshot.c
2
+++ b/take-vector-screenshot.c
3
4
GdkAtom pdfscreenshot_atom;
5
char *supported_str = "supported";
6
7
-GtkWindow *main_window;
8
+static GtkWidget *main_window;
9
10
/*
11
* This is called once a window has been clicked.
12
13
}
14
15
// If we reach here, then the window does not support taking vector screenshots.
16
- GtkWidget *dialog = gtk_message_dialog_new (main_window,
17
+ GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW(main_window),
18
GTK_DIALOG_DESTROY_WITH_PARENT,
19
GTK_MESSAGE_ERROR,
20
GTK_BUTTONS_CLOSE,
21
--- a/take-vector-screenshot.desktop
22
+++ b/take-vector-screenshot.desktop
23
24
Exec=take-vector-screenshot
25
Terminal=false
26
Type=Application
27
-Icon=camera
28
# StartupNotify=true
29
Categories=GTK;GNOME;Utility;
30
NotShowIn=KDE;
31