Mercurial > pidgin.yaz
diff plugins/ticker/ticker.c @ 4635:42d53c416bb9
[gaim-migrate @ 4942]
remove deprecated gtk calls, gtk2-ify log viewer, gtk2-ify jabber vcard
dialog, and probably a cleanup or two I forgot about.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 02 Mar 2003 19:21:36 +0000 |
parents | 864518c3767d |
children | 283fb289c510 |
line wrap: on
line diff
--- a/plugins/ticker/ticker.c Sun Mar 02 18:48:02 2003 +0000 +++ b/plugins/ticker/ticker.c Sun Mar 02 19:21:36 2003 +0000 @@ -101,7 +101,7 @@ if (!ticker) return; gtk_ticker_set_spacing( GTK_TICKER( ticker ), 20 ); - gtk_widget_set_usize( ticker, 500, -1 ); + gtk_widget_set_size_request( ticker, 500, -1 ); gtk_container_add( GTK_CONTAINER( tickerwindow ), ticker ); gtk_ticker_set_interval( GTK_TICKER( ticker ), 500 ); gtk_ticker_set_scootch( GTK_TICKER( ticker ), 10 ); @@ -215,11 +215,11 @@ else return; if ( data->pix == (GtkWidget *) NULL ) { - data->pix = gtk_pixmap_new( pm, bm ); + data->pix = gtk_image_new_from_pixmap( pm, bm ); gtk_box_pack_start_defaults( GTK_BOX( data->hbox ), data->pix ); } else { gtk_widget_hide( data->pix ); - gtk_pixmap_set(GTK_PIXMAP(data->pix), pm, bm); + gtk_image_set_from_pixmap(GTK_IMAGE(data->pix), pm, bm); } gtk_widget_show( data->pix ); }