mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
612 B

  1. diff -ruN streamtuner-0.99.99/src/plugins/python/pst-main.c streamtuner-0.99.99-new/src/plugins/python/pst-main.c
  2. --- streamtuner-0.99.99/src/plugins/python/pst-main.c 2004-12-11 03:00:39.000000000 +0100
  3. +++ streamtuner-0.99.99-new/src/plugins/python/pst-main.c 2005-06-15 13:13:03.000000000 +0200
  4. @@ -94,6 +94,7 @@
  5. {
  6. gboolean status = FALSE;
  7. PyObject *module;
  8. + char *argv[] = { "" };
  9. if (! check_api_version(err))
  10. return FALSE;
  11. @@ -109,6 +110,7 @@
  12. }
  13. Py_Initialize();
  14. + PySys_SetArgv(G_N_ELEMENTS(argv), argv);
  15. PyEval_InitThreads();
  16. module = PyImport_AddModule("__main__");