use g_timeout_add() instead of the deprecated gtk_timeout_add() set non-0
2007-05-27 Jens Granseuer <jensgr@gmx.net> * pipeline-tests.c: (user_test_pipeline): use g_timeout_add() instead of the deprecated gtk_timeout_add() * sound-properties.glade: set non-0 pulse step for the progress bar to actually make it move (fixes bug #441587) svn path=/trunk/; revision=7664
This commit is contained in:
parent
1f606a3e3d
commit
d66e29fc59
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-05-27 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* pipeline-tests.c: (user_test_pipeline): use g_timeout_add() instead
|
||||
of the deprecated gtk_timeout_add()
|
||||
* sound-properties.glade: set non-0 pulse step for the progress bar to
|
||||
actually make it move (fixes bug #441587)
|
||||
|
||||
2007-05-06 Jens Granseuer <jensgr@gmx.net>
|
||||
|
||||
* sound-properties-capplet.c: (create_dialog), (main): don't crash if
|
||||
|
|
|
@ -53,7 +53,7 @@ user_test_pipeline_response (GtkDialog * widget, gint response_id,
|
|||
}
|
||||
|
||||
/* Timer timeout has been occurred */
|
||||
static gint
|
||||
static gboolean
|
||||
user_test_pipeline_timeout (gpointer data)
|
||||
{
|
||||
gtk_progress_bar_pulse (GTK_PROGRESS_BAR (data));
|
||||
|
@ -163,7 +163,7 @@ user_test_pipeline (GladeXML * interface_xml,
|
|||
if (dialog) {
|
||||
gtk_window_present (GTK_WINDOW (dialog));
|
||||
timeout_tag =
|
||||
gtk_timeout_add (50, user_test_pipeline_timeout,
|
||||
g_timeout_add (50, user_test_pipeline_timeout,
|
||||
WID ("test_pipeline_progress"));
|
||||
gtk_dialog_run (GTK_DIALOG (dialog));
|
||||
gtk_timeout_remove (timeout_tag);
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
<property name="visible">True</property>
|
||||
<property name="orientation">GTK_PROGRESS_LEFT_TO_RIGHT</property>
|
||||
<property name="fraction">0</property>
|
||||
<property name="pulse_step">0</property>
|
||||
<property name="pulse_step">0.05</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
</widget>
|
||||
<packing>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue