Displaying 2 results from an estimated 2 matches for "gtk_adjustment_new".
2004 Aug 06
0
[PATCH] speex-xmms endian problems fixed
...ct 12 08:00:44 2002
+++ speex-xmms-0.8-works/config.c Thu Apr 17 12:05:10 2003
@@ -66,7 +66,7 @@
gtk_label_set_justify(GTK_LABEL(cfg_buffer_label), GTK_JUSTIFY_LEFT);
gtk_container_add(GTK_CONTAINER(cfg_buffer_label_box), GTK_WIDGET(cfg_buffer_label));
- cfg_buffer_adj = gtk_adjustment_new( ((gfloat)speex_cfg->buffersize), 0., 4096., 4., 4., 5.);
+ cfg_buffer_adj = GTK_WIDGET(gtk_adjustment_new( ((gfloat)speex_cfg->buffersize), 0., 4096., 4., 4., 5.));
cfg_buffer_input = gtk_spin_button_new(GTK_ADJUSTMENT(cfg_buffer_adj), 4., 0);
if (speex_cfg->bu...
2004 Sep 10
0
http streaming in the xmms plugin
..._size_box,0,1,0,1); */
+ gtk_box_pack_start(GTK_BOX(streaming_buf_hbox), streaming_size_box, TRUE, TRUE, 0);
+ streaming_size_label = gtk_label_new(_("Buffer size (kb):"));
+ gtk_box_pack_start(GTK_BOX(streaming_size_box), streaming_size_label, FALSE, FALSE, 0);
+ streaming_size_adj = gtk_adjustment_new(flac_cfg.stream.http_buffer_size, 4, 4096, 4, 4, 4);
+ streaming_size_spin = gtk_spin_button_new(GTK_ADJUSTMENT(streaming_size_adj), 8, 0);
+ gtk_widget_set_usize(streaming_size_spin, 60, -1);
+ gtk_box_pack_start(GTK_BOX(streaming_size_box), streaming_size_spin, FALSE, FALSE, 0);
+
+ streamin...