From 7bd60b57f094513d31d8f0e52bef2052a6dd79c2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 17 Feb 2011 08:30:09 -0700 Subject: [PATCH] Fix SIP deprecation warnings --- src/calibre/gui2/pictureflow/pictureflow.sip | 2 +- src/calibre/gui2/progress_indicator/QProgressIndicator.sip | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/pictureflow/pictureflow.sip b/src/calibre/gui2/pictureflow/pictureflow.sip index f05f0ee3d1..84d2498ea9 100644 --- a/src/calibre/gui2/pictureflow/pictureflow.sip +++ b/src/calibre/gui2/pictureflow/pictureflow.sip @@ -1,7 +1,7 @@ //Define the SIP wrapper to the pictureflow widget //Author - Kovid Goyal -%Module pictureflow 1 +%Module(name=pictureflow, version=1) %Import QtCore/QtCoremod.sip %Import QtGui/QtGuimod.sip diff --git a/src/calibre/gui2/progress_indicator/QProgressIndicator.sip b/src/calibre/gui2/progress_indicator/QProgressIndicator.sip index d51e6a438b..3db47d668a 100644 --- a/src/calibre/gui2/progress_indicator/QProgressIndicator.sip +++ b/src/calibre/gui2/progress_indicator/QProgressIndicator.sip @@ -1,7 +1,7 @@ //Define the SIP wrapper to the QProgressIndicator widget //Author - Kovid Goyal -%Module progress_indicator 1 +%Module(name=progress_indicator, version=1) %Import QtCore/QtCoremod.sip %Import QtGui/QtGuimod.sip