Bug 153053 - GtkDeprecationWarning: gtk.FALSE, gtk.TRUE
GtkDeprecationWarning: gtk.FALSE, gtk.TRUE
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: system-config-soundcard (Show other bugs)
rawhide
All Linux
medium Severity low
: ---
: ---
Assigned To: Bastien Nocera
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-31 23:31 EST by Ricky Ng-Adam
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 1.2.11-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-09 07:09:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
fixes the warnings (4.22 KB, patch)
2005-03-31 23:48 EST, Colin Charles
no flags Details | Diff

  None (edit)
Description Ricky Ng-Adam 2005-03-31 23:31:32 EST
Description of problem:

/usr/share/system-config-soundcard/soundcard.py:75: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.box = gtk.VBox(gtk.FALSE, 8)
/usr/share/system-config-soundcard/soundcard.py:139: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.notebook.set_show_tabs(gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:140: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.notebook.set_show_border(gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:303: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.icon_box.pack_start(self.icon, gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:304: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.icon_box.pack_start(self.label, gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:305: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.toplevel.pack_start(self.icon_box, gtk.FALSE)
/usr/share/system-config-soundcard/soundcard.py:307: GtkDeprecationWarning:
gtk.FALSE is deprecated, use False instead
  self.toplevel.pack_start(self.box, gtk.FALSE)


Version-Release number of selected component (if applicable):

1.2.10-3

How reproducible:

always

Steps to Reproduce:
1. start program at console
2.
3.
  
Actual results:

extraneous warnings

Expected results:

no warnings

Additional info:

Most system-config-* have the same problems, I'm opening a bug for each.
Comment 1 Colin Charles 2005-03-31 23:48:36 EST
Created attachment 112559 [details]
fixes the warnings
Comment 2 Colin Charles 2005-03-31 23:49:01 EST
Apply patch, rebuild thanks
Comment 3 Bastien Nocera 2005-04-02 09:11:12 EST
Fixed in CVS.

2005-04-02  Bastien Nocera  <hadess@hadess.net>

        * src/soundcard.py: remove use of deprecated gtk.FALSE and gtk.True
        (Closes: #153053)
        * src/soundcardBackend.py: scan the ISA bus (Closes: #146888), and the
        MacIO bus. Also set the "DRC Range" mixer to on for Macs
        (Closes: #146357)

Note You need to log in before you can comment on or make changes to this bug.