tags 516338 patch
severity 516338 serious
thanks

(This doesn't break unrelated software, so is merely 'serious'.)

The bug is in the Debian fix for #485820. Here is a patch to fix it:

--- pornview-0.2pre1/src/prefs_ui/prefs_win.c
+++ pornview-0.2pre1/src/prefs_ui/prefs_win.c
@@ -320,12 +320,12 @@
     if( gtk_tree_selection_get_selected (selection, &model, &iter) == TRUE ) {
         gtk_tree_model_get (model, &iter,
                        COLUMN_PRIV_DATA, &priv, COLUMN_TERMINATOR);
-       }
 
-    g_return_if_fail (priv);
-    g_return_if_fail (priv->page);
+        g_return_if_fail (priv);
+        g_return_if_fail (priv->page);
 
-    prefs_win_set_page (priv->page->path);
+        prefs_win_set_page (priv->page->path);
+    }
 }
 
 static GtkWidget *

-- 
Tim Retout <t...@retout.co.uk>



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to