@@ -496,15 +496,15 @@ static gboolean on_watch_key_pressed_callback(GtkWidget *widget, GdkEvent *even
496496 gtk_tree_path_free (path_to_select );
497497
498498 /* free references list */
499- g_list_free_full (references , gtk_tree_row_reference_free );
499+ g_list_free_full (references , ( GDestroyNotify ) gtk_tree_row_reference_free );
500500
501501 config_set_debug_changed ();
502502 }
503503
504504 gtk_tree_path_free (empty_path );
505505
506506 /* free rows list */
507- g_list_free_full (rows , (GDestroyNotify )gtk_tree_path_free );
507+ g_list_free_full (rows , (GDestroyNotify ) gtk_tree_path_free );
508508
509509 return FALSE;
510510}
@@ -638,7 +638,7 @@ static void on_debugger_run (void)
638638 if (stack )
639639 {
640640 remove_stack_markers ();
641- g_list_free_full (stack , frame_unref );
641+ g_list_free_full (stack , ( GDestroyNotify ) frame_unref );
642642 stack = NULL ;
643643
644644 stree_remove_frames ();
@@ -792,7 +792,7 @@ static void on_debugger_exited (int code)
792792 if (stack )
793793 {
794794 remove_stack_markers ();
795- g_list_free_full (stack , frame_unref );
795+ g_list_free_full (stack , ( GDestroyNotify ) frame_unref );
796796 stack = NULL ;
797797 }
798798
@@ -971,7 +971,7 @@ static void on_select_thread(int thread_id)
971971
972972 if ((success = active_module -> set_active_thread (thread_id )))
973973 {
974- g_list_free_full (stack , (GDestroyNotify )frame_unref );
974+ g_list_free_full (stack , (GDestroyNotify ) frame_unref );
975975 stack = active_module -> get_stack ();
976976
977977 /* update the stack tree */
@@ -1118,7 +1118,7 @@ void debug_destroy(void)
11181118 if (stack )
11191119 {
11201120 remove_stack_markers ();
1121- g_list_free_full (stack , frame_unref );
1121+ g_list_free_full (stack , ( GDestroyNotify ) frame_unref );
11221122 stack = NULL ;
11231123 }
11241124
@@ -1402,7 +1402,7 @@ gchar* debug_get_calltip_for_expression(gchar* expression)
14021402 {
14031403 g_string_append (calltip_str , "\n\t\t........" );
14041404 }
1405- g_list_free_full (children , variable_free );
1405+ g_list_free_full (children , ( GDestroyNotify ) variable_free );
14061406 }
14071407 calltip = g_string_free (calltip_str , FALSE);
14081408 }
0 commit comments