diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-14 09:21:27 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-03-14 09:21:27 +0800 |
commit | 6ea8cdadd34fade98a807bf84429806612c65079 (patch) | |
tree | b7f18e7e629139c395bf0080243a2218963d0301 /deskutils/gnome-utils/files/patch-gnome-screenshot_screenshot-save.c | |
parent | 857bb773fe0bad1b58fa9c68ece3c326f60613e6 (diff) | |
download | marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.gz marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.bz2 marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.lz marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.xz marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.tar.zst marcuscom-ports-6ea8cdadd34fade98a807bf84429806612c65079.zip |
Remove these ports now that they have been merged into the ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3934 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gnome-utils/files/patch-gnome-screenshot_screenshot-save.c')
-rw-r--r-- | deskutils/gnome-utils/files/patch-gnome-screenshot_screenshot-save.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/deskutils/gnome-utils/files/patch-gnome-screenshot_screenshot-save.c b/deskutils/gnome-utils/files/patch-gnome-screenshot_screenshot-save.c deleted file mode 100644 index 0cc89594e..000000000 --- a/deskutils/gnome-utils/files/patch-gnome-screenshot_screenshot-save.c +++ /dev/null @@ -1,29 +0,0 @@ ---- gnome-screenshot/screenshot-save.c.orig Mon Nov 1 15:56:19 2004 -+++ gnome-screenshot/screenshot-save.c Fri Dec 17 23:11:51 2004 -@@ -94,16 +94,20 @@ - gchar *message = NULL; - gchar *error_message = NULL; - GtkWidget *dialog; -+ GIOStatus status; - -- g_io_channel_read_line (source, &error_message, NULL, NULL, NULL); -- message = g_strdup_printf ("Unable to save the screenshot to disk:\n\n%s", error_message); -- dialog = gtk_message_dialog_new (NULL, 0, -+ status = g_io_channel_read_line (source, &error_message, NULL, NULL, NULL); -+ if (status == G_IO_STATUS_NORMAL) -+ { -+ message = g_strdup_printf ("Unable to save the screenshot to disk:\n\n%s", error_message); -+ dialog = gtk_message_dialog_new (NULL, 0, - GTK_MESSAGE_ERROR, - GTK_BUTTONS_OK, - message); -- gtk_dialog_run (GTK_DIALOG (dialog)); -- gtk_widget_destroy (dialog); -- exit (1); -+ gtk_dialog_run (GTK_DIALOG (dialog)); -+ gtk_widget_destroy (dialog); -+ exit (1); -+ } - } - - (*save_callback) (save_user_data); |