summaryrefslogtreecommitdiffstats
path: root/cest_ton_boot
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2001-02-15 22:18:47 +0000
committerYves Duret <yduret@mandriva.com>2001-02-15 22:18:47 +0000
commit62afac64ece17f971487c6b0686bf81199f5d964 (patch)
tree516b8d4cc9553f72a0e1c4117fb3f164f3bc21c5 /cest_ton_boot
parent8fcc16f8f4129ec081eb5163f6fd8ccd51845f40 (diff)
downloadcontrol-center-62afac64ece17f971487c6b0686bf81199f5d964.tar
control-center-62afac64ece17f971487c6b0686bf81199f5d964.tar.gz
control-center-62afac64ece17f971487c6b0686bf81199f5d964.tar.bz2
control-center-62afac64ece17f971487c6b0686bf81199f5d964.tar.xz
control-center-62afac64ece17f971487c6b0686bf81199f5d964.zip
fixed most of the warning
Diffstat (limited to 'cest_ton_boot')
-rwxr-xr-xcest_ton_boot4
1 files changed, 3 insertions, 1 deletions
diff --git a/cest_ton_boot b/cest_ton_boot
index 369cd8d0..a43b4e01 100755
--- a/cest_ton_boot
+++ b/cest_ton_boot
@@ -74,6 +74,8 @@ $window->set_title( I_("ce soir tu choisis ton boot") );
#$window->set_policy('automatic', 'automatic');
$window->set_policy(0, 0, 0);
$window->border_width (10);
+$window->realize;
+
### menus definition
# the menus are not shown
@@ -141,7 +143,7 @@ $a_box->set_sensitive (0);
$a_dedans->pack_start ($a_box, 0, 0, 0);
# now for the pixmap from gdk
-my ( $pixmap, $mask ) = Gtk::Gdk::Pixmap->create_from_xpm_d( NULL, $window->get_style()->bg( 'normal' ), @xpm_data );
+my ( $pixmap, $mask ) = Gtk::Gdk::Pixmap->create_from_xpm( $window->window, $window->get_style()->bg( 'normal' ), "./c.xpm" );
# a pixmap widget to contain the pixmap
my $pixmapwid = new Gtk::Pixmap( $pixmap, $mask );