From 23f00ee6f0f6e7d120d05910aee72dd870120a64 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Wed, 20 Oct 1999 01:01:00 +0000 Subject: [PATCH] plug-ins/common/bz2.c removed some spurious g_asserts, based on * plug-ins/common/bz2.c * plug-ins/common/gz.c: removed some spurious g_asserts, based on gimp-narazaki-990928-0.patch * plug-ins/common/gpb.c: applied gimp-narazaki-990925-0, so we don't refer to internal widget data -Yosh --- ChangeLog | 9 +++++++++ plug-ins/common/bz2.c | 1 - plug-ins/common/compressor.c | 1 - plug-ins/common/gpb.c | 5 +++++ plug-ins/common/gz.c | 1 - 5 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e1f166f801..b9b0acc9be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Tue Oct 19 17:56:29 PDT 1999 Manish Singh + + * plug-ins/common/bz2.c + * plug-ins/common/gz.c: removed some spurious g_asserts, based on + gimp-narazaki-990928-0.patch + + * plug-ins/common/gpb.c: applied gimp-narazaki-990925-0, so we + don't refer to internal widget data + Tue Oct 19 16:47:40 PDT 1999 Manish Singh * configure.in: add sk to ALL_LINGUAS, remove diff --git a/plug-ins/common/bz2.c b/plug-ins/common/bz2.c index d55c621b8f..8cfdc6538a 100644 --- a/plug-ins/common/bz2.c +++ b/plug-ins/common/bz2.c @@ -171,7 +171,6 @@ run (char *name, else { values[0].data.d_status = STATUS_EXECUTION_ERROR; - g_assert (FALSE); } } else if (strcmp (name, "file_bz2_save") == 0) diff --git a/plug-ins/common/compressor.c b/plug-ins/common/compressor.c index 39cea74d10..568b931544 100644 --- a/plug-ins/common/compressor.c +++ b/plug-ins/common/compressor.c @@ -216,7 +216,6 @@ run (char *name, else { values[0].data.d_status = STATUS_EXECUTION_ERROR; - g_assert (FALSE); } } else if (strcmp (name, "file_gz_save") == 0) diff --git a/plug-ins/common/gpb.c b/plug-ins/common/gpb.c index c52694c864..fe1ef62dd9 100644 --- a/plug-ins/common/gpb.c +++ b/plug-ins/common/gpb.c @@ -274,6 +274,11 @@ static void ok_callback (GtkWidget *widget, gpointer data) { + int i; + + for (i = 0; i < PIXPIPE_MAXDIM; i++) + gihparms.selection[i] = g_strdup (gihparms.selection[i]); + run_flag = 1; gtk_widget_destroy (GTK_WIDGET (data)); } diff --git a/plug-ins/common/gz.c b/plug-ins/common/gz.c index 39cea74d10..568b931544 100644 --- a/plug-ins/common/gz.c +++ b/plug-ins/common/gz.c @@ -216,7 +216,6 @@ run (char *name, else { values[0].data.d_status = STATUS_EXECUTION_ERROR; - g_assert (FALSE); } } else if (strcmp (name, "file_gz_save") == 0)