Browse Source

Misc fixes

tags/v0.9.0
falkTX 13 years ago
parent
commit
71be3b0490
4 changed files with 5 additions and 5 deletions
  1. +1
    -1
      src/jacklib.py
  2. +1
    -1
      src/jacklib_helpers.py
  3. +1
    -1
      src/patchcanvas.py
  4. +2
    -2
      src/patchcanvas_theme.py

+ 1
- 1
src/jacklib.py View File

@@ -22,7 +22,7 @@ from sys import platform

# Load JACK shared library
try:
if (platform == "win32" or platform == "win64"):
if (platform in ("win32", "win64")):
jacklib = cdll.LoadLibrary("libjack.dll")
else:
jacklib = cdll.LoadLibrary("libjack.so.0")


+ 1
- 1
src/jacklib_helpers.py View File

@@ -66,9 +66,9 @@ def c_char_p_p_to_list(c_char_p_p):
new_char_p = c_char_p_p[i]
if (new_char_p):
final_list.append(str(new_char_p, encoding="ascii"))
i += 1
else:
break
i += 1

jacklib.free(c_char_p_p)
return final_list


+ 1
- 1
src/patchcanvas.py View File

@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

# Patchbay Canvas engine using QGraphicsView/Scene
# Copyright (C) 2012 Filipe Coelho <falktx@gmail.com>
# Copyright (C) 2010-2012 Filipe Coelho <falktx@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by


+ 2
- 2
src/patchcanvas_theme.py View File

@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

# Patchbay Canvas Themes
# Copyright (C) 2012 Filipe Coelho <falktx@gmail.com>
# Copyright (C) 2010-2012 Filipe Coelho <falktx@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@ class Theme(object):
THEME_MAX = 2

def __init__(self, idx):
super(Theme, self).__init__()
object.__init__(self)

if (idx == self.THEME_MODERN_DARK):
# Name this theme


Loading…
Cancel
Save